|
should you have a number as an integer? you will lose a leading 0 with some numbers.
your 'To' is a column name, no?
|
|
|
|
|
How exactly is inputForm getting into the createXML class?
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)
|
|
|
|
|
namespace.TakeNumber inputForm = new TakeNumber();
then:
input get the txtPhoneNumber but without values......
|
|
|
|
|
Ido Shahar wrote: new TakeNumber()
That's why. It's an different instance so the new instance's txtPhoneNumber is empty
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)
|
|
|
|
|
o.k. got it! what an idiot i am. thank you so much!!
|
|
|
|
|
After a good deal of head scratching to the extent that I've now got a handful of splinters, I have now concluded it seems that Visual Studio 2008 does not like "#" characters in a project directory path. For example "D:\SwDev\C#\projects" is problematic however "D:\SwDev\CSharp\projects" is fine.
Specifically the problem occurs with Windows Presentation Foundation Designer in certain circumstances with where the XAML xmlns:customControl="clr-namespace: etc..." statement has been used to reference a library which has "#" in its path.
A brief sequence of my events follow...
Initially I had been working on a simple C# project which resided in a directory with a path such as "D:\SwDev\C#\projects\proj1", and all Visual 2008 tools seemed to be working well. I then created a Custom Control library by creating a new project with a path such as "D:\SwDev\C#\libs\myControls" - again all Visual 2008 tools worked well.
I then tried including my new controls in my main project. I did all the usual things such as adding a Reference to my library (from within the work bench), adding appropriate "using" lines to my cs files and adding the appropriate XML namespace statement to my main window's XAML file (e.g xmlns:customControl="clr-namespace:myControls;ssembly=myControls"). The result was that Windows Presentation Foundation Designer then put a red squiggly line under the new xmlns statement and suspended the graphical layout editor with a message saying that there were errors in the AXML which must be sorted before graphical editing can be resumed.
At this stage I found could successfully compile my main project with no errors, however the problem remained. It seemed that the main thing that did not work was the Windows Presentation Foundation Designer tool, but I also noted that the intellisense tool was not picking up the presence of my new library when entering the xmlns statement.
I eventually tried renaming my /C# directory to /CSharp and miraculously the problems disappeared .
Stephen Dickinson
Organised Technology Ltd
UK
|
|
|
|
|
Hi, I am working on a small prototype that does some business integration work.
Lets say I am developing 2 application. Each of the application is installed on SEPERATE PC in the SAME network.
The first application :
Have a interface with fields like PO_Number, PO_Date, Seller_ID, Buyer_ID, and a Generate Button
When the 'Generate' button is clicked, a XML file is being created with all those information stored inside. After the file is being created, I wan it to store somewhere whereby another PC running my 2nd application can automatically retrieve it without using a thumbdrive to copy the created XML file over.
The second application :
This application will then use some communication mechanism(FTP??) to retrieve the file created in the first application. This application will then read the content in the XML file that is being retrieve and store it to the database.
Problem
What mechanism can i use so that the file can be transfer over without using a thumbdrive and loading in manually? Can you provide me with some resources or code to help me get started with this
Thanks alot
|
|
|
|
|
why dont your first app FTP the file to the server then the second app can use a file listener to detect the upload (or something like that) i think your second app will need to be on the server thou.
Of course you could create a server app, that the first app connects to and sends the file to, then it can handle however it wants.
why not just write straight to a database?
|
|
|
|
|
Can i install a FTP server software on the First application PC and the IP will be localhost
Then for the second pc, the ip address to connect to the first application will be the first pc IP, example 192.168.1.5(first pc IP)
|
|
|
|
|
|
BTW you should be able to just enable the FTP service in windows (if your running, of course) rather than install ftp server software
i.e.
Add/Remove Programs -> Add/Remove windows components -> Internet Information Services (IIS) -> FTP Service
you may need operating installation disk thou
|
|
|
|
|
Okay thanks will check that out
|
|
|
|
|
Imho, the easiest way to do this would be to use a shared network folder. The 2nd app can watch for changes to the shared folder and read the file when it appears.
/ravi
|
|
|
|
|
You could use WCF and transfer the file in chunks.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
hi everyone,
as long as the Vnc project is free src, i have searched the web for vnc server and vnc client(viewer). i have found sth for Vnc server at VnC#(http://cdot.senecac.on.ca/projects/vncsharp/index.html) but this is only the viewer, i found the code for vnc server but it is in C++, can any one converts it?or know how to convert it? or know where to find the vnc server code in c#!??
|
|
|
|
|
Did you manage to find a C# library or something for a vnc server?
|
|
|
|
|
Hey, if you get the c# code for this, appreciate if you could pass it on. Got to do a project at work involving this.
Thanks
Paul
|
|
|
|
|
|
Hi guys..Have you found something about this?..Please help me
|
|
|
|
|
hi sir.,
I am not able to find the VNC Server in Csharp could u plz tell whether u found it...
If u have written them in C sharp could u mail me..
And you said u found the VNC server Codings in C++. Could u mail me that link i will try to convert them to c sharp.
I got Codings from Real Vnc , it has c++ the thing i am not able to guess which codings work for server.
if u have server codings also it would be help full for me Reply me ASAP
|
|
|
|
|
code available for tight vnc server in c++.
|
|
|
|
|
Hi all i want create DLL file and give it trial period (like many software has demo period for month )
Please reply
|
|
|
|
|
In your class' constructor, code the following algorithm before any other code:
1. Check the appropriate registry key for the date of first use of your dll.
2. If it's not there, create a new value and store it in the registry at some proper place.
3. If the test in step 1 turns out to be positive, then check this value against the current system date and throw some custom exception if the period has expired or continue initialization otherwise.
4. You can also use some other trick, if you don't want to use registry, such as some hidden file etc.
Excuse me for buttin' in, but I'm interrupt driven.
|
|
|
|
|
You have Ask two things at the same time.
Creating a DLL , you just create a Class Project from VS and Creating a Trial Period its another thing.
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswam@its.co.za
|
|
|
|
|
Hi,
How can I show progressbar while I am seinding email with attachment.
When I send email with any attachment then I get only freezed window,insetead of this I want to show progressbar which will fill until email is sent.
Regards
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
|
|
|
|