jasi's Q&A profile
Visual C++ Full duplex serial port
Hi all. What I have a problem with is writing a code that continuously listens for incoming data but at the same time being able to send data. When I wait for an event either rxchar or hardware handshaking event I can not send at the same time. Is this somehow possible Or is there some way to kill the wait for event so that I can send data and then go back to wait Now I have to Poll the serialport with a timer and use a mutex so that the send and receive does not collide. Is there really no easy way to make an interrupt driven serial port application Polling is just ugly J Many thanks in advance. /Tobias ...Show All
.NET Development SqlDataAdapter
Hello I've got a static class DB. In a constructor I create SQLCONNECTION object - called 'connection' with specified CONNECTION_STRING. In this class i have got 3 methods(among others): GetData GetData is firing in some other class in a loop. DataTable getData() { ..... connection.Open() SqlCommand command = new SqlCommand( procName, connection ); SqlDataAdapter dataAdapter = new SqlDataAdapter( command ); .................. connection.Close() } Is it efficiently way What is the better solution for that Thanks Assuming you have not disabled connection pooling in your connection st ...Show All
Visual Studio Express Editions How to I create a login form with visual basic express editions and mysql
Hi everyone, I need some help here, I'm new with visual basic express. How to I create a login form with visual basic express editions and mysql. Anyone can help me For example : After I submit my Login ID and Password at "Form1". How to I connect it to mysql and pass the posted value into the mysql query to checked whether is a valid member or not. If is a valid member how to I create a SESSION to store the member details like "username" and "user ID" Then these values I able to use in Form2 or another. Someone can help me please ... !!! THANKS A LOT 1 - www.vb mysql .com/ is dedicated to connecting VB to MySQL ...Show All
Visual Studio Express Editions How do i Change Application Settings file location
I am making an application that runs on a usb how can i change the application settings to application.startuppath (Since USB Drives can have diff drive letters) Also How can i change the windowsxp visual style by the press of a button (xp defualts + other's) i have the user browse for the VS on their usb and they press apply and it does it. Same thing for wallpaper thanx The configuration API is pluggable, and you can write your own settings provider that reads/writes the settings from wherever you want it to. You can find an example that reads/writes to the registry here: http://msdn2.microsoft.com/library/ms ...Show All
SQL Server SSIS Requests...
May be it's too late, but I think this requests could be scheduled at least for a SP1 if it's not possible for the RTM. 1) Execute Task without debugger: it would be very nice to be able to execute a single task without going in debugging mode. Just as you would ask "Start Without Debugging CTRL+F5" but for a single task 2) Customize default properties for task and component: when you drag a task on the package you get a default value for the properties that you could want to change; often I need to change the same property in the same way each time (for example I'd like to set the Batch Size for a OLE DB destination to 1000 instead than 0 ...Show All
SQL Server Accessing from desktop - path not found.
Hi, I am trying to write a desktop application using C# and .NET that can edit an SQL Server Mobile database stored on a device. The problem is no matter how I specify the data source, I get an error the path was not found. Heres the bit of the code: string strConn = "Data Source=" + "Mobile Device\\My Documents\\Nutricom.sdf"; SqlCeConnection connDB = new SqlCeConnection(strConn); connDB.Open(); And the error i get is.. The path is not valid. Check the directory for the database. [ Path = Mobile Device\My Documents\Nutricom.sdf ] Everytime it thorws an error saying the path is invalid and to check the locaiton of the dat ...Show All
Windows Forms Winforms with Access DataBase ( it doesn't SAVE , modify records )
Hello. I'm developing an application using vb. NET and an Access DataBase ( the application is not big ). I ADD a DataSource, ( Menu/Data/Add new datasource) i select an Access Database, and i select the table i need ( dataset ).. everything seems to be fine. I go to the dataSource Windows to see my DataSets with its table, i drag and drop it into a blank winform, it creates a datagrid with its navigator, every seems to be cool. I run the app, and i start adding data into the datagridview.. i press the Save button to update the change... i close the windows and i open it, and i SEE the changes. BUT when i close the app, and i ope ...Show All
Visual Studio Team System Package Load Failure connecting to TFS RC from TE
Hi there, I've just finished upgrading a Beta 3 install of TFS to Beta 3 Refresh and on to RC in single server mode. The install seemed to go to plan, I completed all of the items in the installation guide but now connecting to TFS from TE (either on the server machine or another machine) yields the messagebox: "Package 'Microsoft.VisualStudio.TeamFoundation.VersionControl.HatPackage, Microsoft.VisualStudio.TeamFoundation.VersionControl, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' has failed to load properly ( GUID = {4CA58AB2-18FA-4F8D-95D4-32DDF27D184C} ). Please contact package vendor for assistance ....&quo ...Show All
Visual C# TabControl
Hallo, Can anybody tell me how can i implement changing between tthe different TabPages using the Tabkey instead of clicking on the single Tabs in the Dialog Thank u Hai Marc, Thanks alot for ur response.. regards swingme ...Show All
SQL Server No Toolbox
This seems like a rather simple questions that I've hesitated posting for a day now, but as of yet I can't really find an answer through my searches online. My SSIS package is using a couple of the Konesans Transforms, this worked fine on my development box with my dev SQL server. The time has come now to deploy my package to my production SQL server. The instructions on installing the transforms on my dev box all uses Visual Studio to add the components. Is there a way to deploy 3rd party (own my own) SSIS tasks with the package Does it require a seperate install How can I do it without Visual Studio Thanks for any help, -Da ...Show All
.NET Development Deploying WSE3 to servers using GPO
I have successfully deployed the WSE3 runtime to all my client systems using a GPO with the runtime MSI. Now, I would like to automate the deployment of the WSE3 to my servers. As part of the deployment, I want to install both the runtime and the admin tools, not just the runtime. Is there some way to use the full WSE3 MSI to deploy to my servers Thanks, Erick Todd, Thank you for the excellent response! This is great information, and I would love to see it included in the documentation. Thanks again! Erick ...Show All
Visual Studio Team System Looping
I have created a webtest. The business process is like .. 1. User Logs in 2. Selects one of the menu options. 3. Goes on adding master information (For ex: Goes on adding country - 1. Types a country name 2. Clicks on Save &n ...Show All
Windows Forms binding does not work if the control is not displayed
Suppose: * I have a class Name with two properties: FirstName , LastName . Both string. * I have a form with one TabControl with 2 TabPages, with one TextBox on each TabPage . * I bind an instance of the Name class on the Form's Load event. For each Binding object (one for each TextBox), I set the UpdateModes for both DataSource and Control to "Never" as I want the user to explicity click a "Save" button when he's ready to commit the information. Result of running this Form: * The TextBox of the visible TabPage gets bound very well, and displays the property value. BUT, the TextBox of the second TabPage remains blank. ...Show All
Visual Studio Debugging multi-threaded operations problem
You'll love this one... I've ran into a rather odd problem, both in the application I'm in the process of developing and in a test project I threw together just to replicate the issue. When debugging code that is run on a thread other than the main execution thread the non-main thread will exit for no apparent reason. Here's the kicker... It only happens if you have the autos variable window selected i.e. the problem will not show if you're viewing the watch list. Here's how to replicate: Visual Studio 2005 Standard 8.0.50727.42 1 Create a new Windows Application for C#. 2 Create 1 button. 3 Use the following for your class code. public part ...Show All
Windows Forms Remove Controls from the TabIndex
Hi all, is there anyway I can remove a Control from the TabIndex without disabling it I have set the TabIndex to 0, but they still get tabbed. If I use -1, then I get an error in the designer. Hope you can help. Thanks Tryst Yeah, I did find this in the properties in the Design view, thanks. I should have looked, but thanks for the info. Tryst ...Show All
