Scott Wickham's Q&A profile
SQL Server What is the alternative to "go" under sqlcmd?
Hi I found it a bit annoying to type Go after some very simple query and I wonder is there a short cut to execute the query i type right after I press enter 1> select * from Table 2> go <enter> instead, how to you execute line 1 without entering go Thank you Thanks for the reply Actually I was exploring the sqlcmd and getting mysself familiar with T-SQL, just wonder if I can append some sort of character in the end of my query to replace <GO> ........ yes, for a first timer I admit I found it forgettable to type GO after I put my query in ...Show All
Smart Device Development How to play Flash files (.swf) on the device
Hi, I'm developing Pocket PC application by using CF 1.0 on Visual studio 2003. I have one question. My question is how to play Flash files (.swf) without using webbrowser because of the CF 1.0 doesn't have WebBrowser control. Please send your solution or links. Thanx. GANESAN .M You've to download and install Adobe Flash Player. More info here - http://www.adobe.com/products/flashplayer_pocketpc/ This forum is about developing applications on Microsoft Windows Mobile based platform and not about developing flash based applications. Closing this as off topic. Manav ...Show All
Visual C# Is there any tool functions as a switch in windows forms?
Hi,as stated in the subject, I want to know whether there is a control acts as a switch. Just like the one we use to open or close the light... Now I can only use two buttons. Each time only one button is enabled and when user clicks the active one, it will become disabled and the other one will be enabled...However, it is not so intuitionistic and a little bit strange... So does C# or visual studio offers such electrical tools Or I have to draw one by myself Is there any resource supplied for electrical GUI online Thanks a lot! It appears what you want is a checkbox. Click once, it's ON (checked), click again it's OFF (unchecked). IF you want it to look like a lightswitch, derive a new class from CHeckbaox, and override ...Show All
Microsoft ISV Community Center Forums BUNDLING MS MONEY 07 TRIAL
I'm interrested in bundling Microsoft Money 07 on our Welcome disk as a value added benifit to our business members. What is required to do so Hi, Please send me an email at budsup@microsoft.com and I'll connect you with the Money team. They'd like to know more about your welcome kit, etc. Thank you, -brenda (ISV Buddy Team) ...Show All
Visual Studio Express Editions Plot real time graph using data read from serial port
I read some data from serial port and i store it with buffer.Add(final). I later would like to take the data from buffer and add it to another new list which is yvalues, data inside yvalues are the what that would be used to plot the real time graph (plot one point every second), yvalues.add (buffer) certainly not going to work..What is the right way of solving this problem Private buffer As New List(Of Integer ) Private yValues As New List(Of Integer ) 'event handler for data_received Private Sub OnDataReceived( ByVal sender As Object , _ ByVal e As System.IO.Ports.SerialDataReceivedEventArgs) _ Handles SerialPort1.DataReceived Try TextBox1.Invoke( New myDelegate( AddressOf UpdateTextBo ...Show All
Windows Forms Runtime Gridview without Datasource
Hello All I wanted to create a gridview control on my asp.net site which does not have a data source. I want to provide a UI which is similar to the create table UI provide by the management studio of SQL Server 2005 I mean on the page load the gridview should provide a textbox (for entering column name), a drop down (for selecting the datatype) and two check boxes for primary key and allow null constraints. Any alternative other than gridview will also by helpful Can anyone help me with this A GridView without a datasource is missingless. If you have nothing to display, then you can display nothing. What you do want is an empty datasource. More specifically, you'd want an empty List of ...Show All
Visual Studio Express Editions change your mousecursor
When I click Picturebox1 i want my mousecursor to change in something else that I have made(I need a .ico file for this, yes ). How can I do this please Thx in advance. Project + properties, Resources tab. Click on the arrow of the Add Resource button, Add Existing File and navigate to your icon file. Rename it to "MyCursor". Now you can change the mouse cursor on the Click event with code like this: private void pictureBox1_Click(object sender, EventArgs e) { pictureBox1.Cursor = new Cursor(Properties.Resources.MyCursor.Handle); } private void pictureBox1_MouseEnter(object sender, EventArgs e) { pictureBox1.Cursor = null; } Note how I added the MouseEnter event to ensure the ...Show All
Windows Forms Deploying/Publishing my VB express application issue
Hi I get pretty confusing about what the Publish button do to my application. After looking thru the deploy-related posts on this forum I managed to publish my application with MS Installer and .net framework 2.0 buddled on a CD-ROM/DVD. The project in my case is deployed to C:\myProject Now there are folllowing filess in the myProject folder: myProject_1_0_0_1 [folder] --- inside has the xyz.dll.deploy , myProject.exe.deply and database.mdb.deploy <-- how come they are end with .deploy dotnetfx windowinstaller3_1 autorun.inf myProject.application myProject_1_0_0_1.application Copy of myProject.xml setup.exe I logically ran setup.exe and expect my application will get installed on my PC (same pc I use to develop softwar ...Show All
Smart Device Development Access combobox.selectedindex in code
I am trying to write a sub to set combobox.selected index to 0 I have tried: Dim ctl as Control For each ctl in me.Controls if TypeOf(ctl) is ComboBox then ctl.selectedindex = 0 endif Next I've searched the combobox in help, but cannot find the answer. Any help is appreciated. Thanks Dennis Lackey If I understand you correctly... once you’ve passed your if statement you know the type of the control, you now just want to access it like a ComboBox and not a control so that you can set the SelectedIndex property... if that is the case, you just need to do a little type casting: The long way: Dim cb As ComboBox cb = CType (ctl, ComboBo ...Show All
Visual Studio Express Editions Installation error
I have tried to instal C# express 2005 online and from cd and it doesn't work. It has to shut down the installation beause of the error I was looking through the files of the temp directory and found a file with this Watson manifest this looks like the problem help STATUS: Logging Started STATUS: Initializing Watson... Entering InitializeParameters [12/22/06,22:13:40] IsCorpnet=0 [12/22/06,22:13:40] Outer UIFlags=0 [12/22/06,22:13:40] IsCorpnet=0 STATUS: Finished Initializing Watson STATUS: Preparing the tools... STATUS: Writing Data to temp file: VSSWMSIInstallTime.txt STATUS: Writing Data to temp file: VSSWMSIFailInfo.txt STATUS: Writing Summary data to temp file: VSSWMSISummary.txt STATUS: Fi ...Show All
Visual Studio Team System I am trying to set up TFS build
I have single server environment, The build machine is not configured to build for server ... the build machine is configured for one team foundation server only, change "allowedteamserver" .... I spent lot of time to figure this out, I even tried installing build on a seprate machine, still it's the same error, I tried playing with "allowedteamserver" flag in config file as well as registry, but can't get of this error. I have to do urgent demo, can anybody quickly help me here, better if somebody can give me call after 11.00 AM CST, this demo is very urgent. Otherwise, TFS is running all fine. It worked by having value http://devteamfoundation:8080 in *.config file. ...Show All
Visual Studio Express Editions changing current directory to bin
Hello all, I'm currently working on a project that requires me to switch the current directory of the project to the project's bin. I've looked in several places, and can't figure out how to do it. Does anyone have any ideas Thanks so much for any input... sorry for this stupid question -Robert I understand that the user can select a file, xml in this case, using the openfiledialog. I understand that the openfiledialog directory, next time when shown, is set to the LAST place they chose the file from So in order to create your xml file, this has to do with the way you are writing a file. you need to give it the path you want to create the file in. So, if you wanted to create the file from where the application was started/run ...Show All
Smart Device Development Avoiding/Eliminating the "OK to Reinstall dialog box"
I've built an enterprise solution that includes both a WinForms app and a Pocket PC app. To facilitate the installation of the mobile app, the WinForms app copies the Mobile CAB file over to the device and then executes it. It works fine except that whenever and update is being installed, it presents the following dialog box: Blah-blah-blah is already installed. Re-install OK Cancel I'd very much like to find a way to eliminate this dialog box. Does anybody know how Robert Werner Vancouver, BC Hmmm ... I used the "Run" mode on my Dell Axim and manually exited "wceload" but no combination could avoid that dialog box. To be precise, this is what I ...Show All
.NET Development Which are the classes I should use to ftp login and download files in .net framwework 1.1
Which are the classes I should use to ftp login and download files in .net framwework 1.1 Can any body provide a sample link for me Thanks Amol I know about the classes in .net framework 2.0 In my existing project there are a third party componenet is used for the purpose. I want to check is there any thing in .net framework 1.1 from which i programatically download files from ftp with out any third party component. ...Show All
Smart Device Development Microsoft Reader SDK and VS 2005, MIDL2346, MIDL2025 errors
Hi, There may be something wrong with the Microsoft Reader Content Software Development Kit, located at, http://www.microsoft.com/reader/developers/downloads/sdk.asp , not sure where to report it, so I'm writing a note about it here for others to find if they have the same problem. The problem with this SDK is probably that it is way too old and isn't entierly compatible with VS 2005. (I also have the new Windows Vista Platform SDK installed.) (Kind of makes me wonder if the Microsoft Reader application has been scrapped.) This is what happens when compiling the "LITConvertDemo", Warning 1 warning MIDL2346 : the specified lcid is different from previous specification f:\Download\MicrosoftReader\contentsdk\C++Demos\LIT ...Show All
