RobertMC's Q&A profile
Windows Forms Very simple, but two problems...
Hi, I created a windows application and added a new data connection which points to a local access database. Then I dragged&dropped a table to a form, wizzard created tableadapters and so on. Now there are two problems: 1) if I delete a row in the datagridview and hit the save-button on the binding-navigator, an exception raises "update requires a valid delete command.." (hope, I translated well...) What is missing to update those ...Show All
Smart Device Development Get devide id from RAPI
Hi All, First of all, I would like to apologize if this is not the right forum to post this type of question. I have tried to post it in .NET Networking section, but there are no replies. I would like to create an application that reside in desktop side, that is capable to get the device id from the PDA through ActiveSync. I have been able to retrieve the id through P/Invoke (KernelIoControl) if the process is executed inside the PDA ...Show All
.NET Development bug in Int32.Parse
In Visual Studio 2005, the following throws a FormatException and it definitely shouldn't. The same code works fine in Visual Studio 2003. This is the version that I am seeing the problem, running on XP: Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft .NET Framework Version 2.0.50727 Installed Edition: Profes ...Show All
Windows Forms Binary data type
I am storing a signature as a byte() and submitting this via ADO.NET and a web service to an SQL database. The size of this data starts at approximatley 1800 but when stored shrinks to 250. This I assume is due to the data being ...Show All
Windows Forms migrating to 2.0
Hi, If I install framework 2.0 on development machine would I be able to enhance/support existing applications written on 1.1 and if I am able to do so then would I have to upgrade client machines to 2.0 Currently, all client machines are running 1.1 Similarly, if I develop brand new apps on 2.0, would I have to upgrade client machines to 2.0 or 1.1 framework would be able to run the appliations written on 2.0 Thanks, ...Show All
Visual Studio Team System Team Build SKU Installation
Hi, Should we install the Team Build SKU from TFSsetup login or Adminsitrator Login Regards Sahil Absolutely correct. The account installing Team Build must have appropriate administrator privledges to make it work. Using the TFSSERVICE account for the Build service will reduce some of the extra permissions work (with TFS) you would have to do if you used a different account. marc ...Show All
Visual C++ Help needed: fatal Error: C1190 VC++ .NET
Hello, I am gettin a fatal error C1190 when I try to compile the code and run it. Could anyone provide a solution for that I guess I need to set the /clr switch. Here is the error: fatal error C1190: managed targeted code requires '#using <mscorlib.dll>' and '/clr' option It points to the syntax on code: #using <mscorlib.dll> <Yeah the third line of my code!!!!> ;-) Would appreciate if anyone cud provide a solution for this ...Show All
Software Development for Windows Vista Problems in invoking one workflow web service from another
Hi, I am using Beta2 of the workflow. Workflow A has been published using a web service named SendConfirmation_WebService. The workflow has WebServiceInput, a CodeActivity & a WebServiceOutput activities. Workflow B has also been published as a web service named ReceivePurchaseOrderConfirmation_WebService. It only has WebServiceInput & WebServiceOutput activities From Code Activity of Workflow A, I am trying to invoke the w ...Show All
Visual C++ This is kind of a newbie question but i am stuck
this is my simple hello world program #include <iostream> using namespace std; int main() { cout << "Hello World" ; } The prgram runs in the black command prompt window thing but it flashes on the screen for only a second and closes. Normally, after it runs, the widow should stay open and display "Press any key to continue..." HELP!! Unlike the common IDE C++ Compiler, Vis ...Show All
Visual Basic detailsview grid with validation controls?
Since a detailsview grid shows columns as rows, is there a way to use a compare validator across rows of a detailsview grid I need to compare one row of a detailsview grid with another. They are the start and end date of my grid. ...Show All
.NET Development security options
Hi. I just like to know what is the best way of making my application (very small, really to be used as a demo) more secure Basically the application gets some day from a stream (could be text file with some scripting code) and then displays to to the user in IE or some other method now, obviously if the user has javascript code, when the page is being loaded(html), it will obviously execute. we of course do not want this for alot of reasons. S ...Show All
Smart Device Development ActiveSync4.0 VS2005 beta2, PPC2003 failed!
Got the error message: "No address is detected for the deployment target by the current connectivity bootstrap. If the target is an emulator, verify whether the network DHCP server is running." Environment: Device: O2 Xda II/PocetPC 2003/Traditional Chinese Connection: over bluetooth connection. (can synchrozie) OS: Windows XP Professional English SP2   ...Show All
Windows Forms Marquee progress bar not working in VS 2005
Howdy all, In VS 2005 I put a progress bar on a form. I set the style to Marquee, but can't figure out how to make it run. The progress bar is always blank. I want it to just scroll continuously because the time it takes for the background operation cannot be determined. I'm running Windows XP Pro w/ SP2 and .NET 2.0 (I already read the thread about the Marquee style not working in Windows 2000, that's not the problem he ...Show All
.NET Development streamwriter close
Hi, I have a small static TCP class using a client socket linked to a streamwriter. If I read a file and send it to my server socket and do a close on the streamwriter after sending it , it kills the client socket too. In my opinion this is not a normal behaviour. If I search in the class msdn info there is nothing to find on this topic. Is it because the streamwriter is not yet free to send all ( i did a flush) thnx for taking the t ...Show All
.NET Development Year function in sql query
I'm trying to add a field in query design SQL EXPRESS as follow SELECT Year([Created_Date]) as exp1 FROM Tablex or SELECT Datepart(year,[Created_Date]) as Years FROM Tablex Table comming from MSAccess I have donne in MSAccess many time without a problem , but I get an error in SQL what wrong , please help I have the same problem. Did you find a solution To work around this bug I ...Show All
