highflyingflor's Q&A profile
Visual C# Query Database
Ok. I am problem with querying my database. When I use the query command "SELECT * FROM TableName", then I have no problem. It shows the results as expected. But when I try to choose a certain field as follows: "SELECT * FROM TableName WHERE Song Name = 'Ben Stuart - A moment'; It doesnt work. Can someone tell me what the problem is ShellShock is on the money. that's the most correct answer. Field names should be in brackets w ...Show All
Smart Device Development Why does ActiveSync 4.0 Spontaneously Disconnect?
After upgrading to ActiveSync 4.0, I notice that ActiveSync spontaneously drops the connection after a couple of minutes, even though the device (Audiovox SMT5600) remains connected to the USB. I've reverted to v3.8 and this no longer happens, so this is obviously a v4.0 issue. Any ideas - Joe Geretz - Maybe I should open a new thread, but this looks appropriate. Situation: I had to install Vista Ultimate x64 I i ...Show All
Software Development for Windows Vista Reusing the 'Existing Activity Reference' dialog
I am rehosting the workflow designer (LAB 10) and I would like to reuse the 'Existing Activity Reference' dialog. If it is possible is there an example that shows how to do it Answered by http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=232539&SiteID=1 ...Show All
Visual Basic Retracting a Menu
Hi, Could someone tell me how to retract the drop down menu and set the focus to the windows form, once the menu property has been used I mean, you click on the menubar, get a drop down menu, you select a particular menu in the list to perform some function. How do you retract the list of menus back into the menubar after the function has been performed Thanks and regards, Arun. ...Show All
.NET Development BackgroundWorker can it be named?
While trying to solve a VSTO threading issue, I had to identify the threads that were running. When I look at the background worker thread (System.ComponentModel.BackgroundWorker) using this property: System.Threading.Thread.CurrentThread.Name it reports string.empty. My guess is this is a request for the next version...but is there a way to name the background worker thread There is no support for specifying a thread name. Backgro ...Show All
.NET Development How to transfer an object between two .net app?
I've two app that have been written in .net (server and client). I wana send a command to server via client and in response server returns an object ( e.g. OleDbDataReader). Is there any way There are just about million ways of doing this. You could use system.Net.socksts, tcpclient, web services, remoting, etc. look at msdn.microsoft.com ...Show All
Windows Forms DataGridView KeyDown?
(VS2005 - beta 2) Hello, is there anyway to capture a keypress or keydown event in the DataGridView I know there's events called KeyDown and Keypress, but if the DGV is in edit mode, they never get caught. My ultimate goal is to make it so pressing enter moves to the Cell to the right, instead of to the next row but I need to know what key is being pressed before I can do that. Thanks -Adam Hi ...Show All
Smart Device Development DataGrid issues
Hi, I've installed the CF2.0 SP1 patch so that my DataGrid could be align to the right (I'm writing a RTL program.. hebrew) But I didn't understand how to get the headers to be align to the right aswell, another question regarding the binding of the SQL MOBILE and the DataSet, I have a table, and i want the user to see only 3 columns in the datagrid, but the problem is that one of the columns vary in the DB, I need to display i ...Show All
Windows Forms "Application Name" Is Not a Valid Win32 Application on XP
Hi, I developed a .net windows forms application using framework 1.1. The application is now runing on XP machine. When I try to run the application I got this message "Application Name Is Not a Valid Win32 Application". I installed the applica ...Show All
Software Development for Windows Vista Creating Custom State Activity
I need to create a custom state activity with a code activity in the StateInitialization activity. Can someone please tell me how to create a custom state activity (what methods i need to override) and how to add the StateInitialization activity to my custom activity Please take a look at this thread and see if it gives the information that you need: http://forums.microsoft.com/MSDN/showpost.aspx postid= ...Show All
Windows Forms Adding Record to Details Table
Hello, I have a form showing information from two tables which are related one-to-many as Master-Detail records (as in Customer-Order relationship). Information is shown in two DataGridView controls, bound to the underlying database tables via BindingSources by dragging & dropping in Visual Studio. I wish to write some code which adds the first Detail record to the database whenever a new Master record is created. Can ...Show All
Visual Studio Express Editions How to Specify Form Location when Maximized
Hello, I have a single form that starts up in the Normal State and StartPostion set to Manual. When the user clicks on the Maximize button, I would like to specify the location the form, instead of the upper left corner. Is this possible Thanks, steve Steve, Good Idea! I'll give it a try. Thanks for your help. I really do appreciate it. Best regards, Steve N. ...Show All
SQL Server Data Comparison Question
I am not sure if this is the correct forum for my question but I will give it a shot. I want to be able to create a dataset from an ODBC datasource and compare it to existing data in my SQL DB. If there are changes (inserts/updates/deletes) I want to raise seperate events for each row state. Is this possible to do with SSIS/DTS or am I on the wrong track with what I am trying to do Have a look at this and see i ...Show All
Smart Device Development Best way to make LABEL's clickable in CF 1.0?
Hi, There's no working Label.Click() event in CF 1.0 at this time. I can't use read-only textbox in this situation, because I need to use a label appearance rather than a textbox appearance. What is the best workaround to make a label clickable in CF 1.0 I have multiple Label's inside a Panel control, each of which requires a separate click event. How about this one: http://www.intelliprog.com ...Show All
.NET Development how to know at client that a listener has connected
Hi, I am implementing async socket. I have a client and Server(listener). When a listener disconnects I get notified in OnReceived call back function. Is there anyway I can find out when the listener starts listening again FOe xample, I have an application that has start listening and stop listening buttons. When I click stop listening the client gets notified in its OnReceived function. NOw if I click Start listening then client does'nt get ...Show All
