JamesDawson's Q&A profile
Visual Basic BASIC program to read/write SQL
Anybody know how to read and write records in SQL I have a VB 2005 program which have a loop and generate a lot of variables I need to read and write them rapidly so the command need to be simple and efficent Can anybody help me I've tried to find all helps i can get MSDN library, BASIC website etc... they all have the information i need, but i just don't understand it! Those help just introduce the method it works then pop up source code ...Show All
Visual Basic How to unplug (safely eject) USB Drive.
I am working on Visual Basic 6. I want Visual Basic Source Code for unpluging (Safely Removing) USB Drive from machine and plug it again. Unplug and Pluging, both the process should be done by coding and not manually. Waiting These forums are for VB.NET and there are better places to find answers for older versions of VB such as VB6. Maybe the VB6 newgroups - http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.pu ...Show All
Software Development for Windows Vista WorkflowInstanceID
I am trying to get the workflow instance id of the executing workflow so that I can send it to my declared events. I have tried this.WorkflowInstanceId and WorkflowEnvironment.WorkflowInstanceId but when I get to firing the event I get an exception that says that the event could not be delivered. The inner exception is "Instance operation is not valid on workflow runtime thread" Any suggestions Amanda ...Show All
Visual FoxPro lan/wan difference
Hi everyone, I always browse this forum (for a long time now) I get really good info and answers to many of the situations I've encountered during my process of discovering what to do with a VFP application; since I've never work with VFP before. I've learned a lot, but there is still things that I can't figure out. The application runs fine in a LAN environment, but when is accessed in a Wan environment, there is specifically one form that ...Show All
Visual Studio Express Editions VSContentInstaller.exe - Bad Inmage
After reinstalling XP Pro and then installing VS 2005 Standard, I decided to try a starter kit. I downloaded the Amazon Movie one and clicked on the file and got this Alert message: _____________________________________________________________________ .NET-BroadcastEventWindow.2.0.0.0.33c0d9d.0: VSContentInstaller.exe - Bad Inmage The application or DLL C : Documents and Settings\Dilbert\Desktop\AmazonMovieCollection_1_0_vb_rtm.vsi is n ...Show All
.NET Development Plural of word
Hello Friends, I just want to know how to find plural of a word in C# I have one textbox where user will enter his word i.e Text. Then how to find the plural of that word. You need to find the rules of pluralization for the language of interest and write them into your code. For example, in English, you need to at least implement the rules to make these words plural: Punt Radius ...Show All
Smart Device Development First Chance Exception using pocket pc 2003 emulator and VS 2005
I have the beginning of a very simple app. When I bind a combobox or data list to a sql server 2000 db I get: A first chance exception of type 'System.Exception' occurred in System.Drawing.dll in the immediated window. The app does finish and fills the combobox. I do not get this error when I fill a datagrid or textbox (with same databinding). I am connecting with Activesync. Any idea what is happening That was answered before ...Show All
Visual C# can i convert from string to guid
Hi can i convert from string to guid please if i can send example You can use the Guid( String ) contructor overload: string guidString = "..."; Guid guid = new Guid( guidString ); ...Show All
Windows Forms Help! - DataBinding Object
I have a CountryCollection that contains a collection of Country objects. The Country object has two properties - CountryCode (String) and ShortName (String). I also have a Customer object that has a property called Country which returns a Country object. How can I databind the Country property of the Customer object to a Combobox whos datasource is the CountryCollection so that when a user selects a Country object in the drop down list the ...Show All
.NET Development Writing a SOAP client over SSL
Hi All, I want to write in C#, a SOAP client over an SSL connection to a server which supports SOAP requests and gives back SOAP responses. The way i am currently doing it is 1) I use a open source .NET SSL library to connect to the server. 2) I manually create SOAP requests(in the form of strings stored as resource and in XML files) and send these request over the connection created in 1. 3) I get back the response over the SSL connection and t ...Show All
.NET Development Alerts with WebServices?
Hi all there.. I wanna Know it's posible to build and alert sistem whith Web Services.. Example. I have on a table some price, it this price changes, a service raise and alert and send it via a websevice, and all clients that have it, can recive the alert.. Can web Services do this Tanks for all. Sure WS could if you wrote all the plumbing code. If I were you I would just implement a trigger ...Show All
Visual Studio Team System WSS Error on home page viewing reports
When I look open a project web site I get 3 nice little warning messages: Unable to locate control: ctl00oReportCell The 3 reports display after I click Ok. Using Beta 2 on a single server install Cheers These three character belong to saving files as 'UNICODE (UTF8 with signature ) - Codepage 65001' and represent the signature in the first byte. Saving file as 'UNICODE (UTF8 without signature ) - Codepage 65001' solves the error. ...Show All
SQL Server Create Temporary tables/delclare table not working for our environment
Hi, we are going from: .NET --ODBC--> ODBC-JDBC Bridge--> JDBC Driver for SqlServer --> SqlServer Everything works however creating temporary tables is failing: CREATE TABLE #tempDefault ( DefaultKey VARCHAR(255) ,DefaultValue TEXT ) a work around would be to use declare table: ...Show All
.NET Development SQL Data class / structure?
Someone on a board somewhere took a look at my code and said I shouldn't be manually assembling strings for SQL queries, I should be using an SQL Data class (or was it a structure). I can't find a good, clear reference to this. Advice Dave, for writing queries on the fly, we dont have any ADO.Net API to do that for you. Doing it manually as you show above, is the only way I am aware of. With that said, - If the values that you're appending ...Show All
Software Development for Windows Vista Vista UI lacks of Transitions, Fades and some other things
I like Windows Vista very much, but when i compare the current December CTP [of which I am beta tester] with a Mac OS X Tiger video found on the apple homepage, Vista falls behind in some areas. What I find so pleasing in Mac OS X are the cool but not annoying transitions in various parts of the user interface. In Vista, except of the window minimize to taskbar, maximize from taskbar, window open and window close effects, there are none noticabl ...Show All
