sharpej's Q&A profile
.NET Development Adding rows to table in Dataset
VB 2005 express beta 2 I've set up a dummy project to learn how to insert rows into a database, and i'm having some trouble. You'll see the naming convention right away.... Here's the code that looks like it should work... the warning that pops up is that the variable NewTestRow is used before it has been assigned a value. i want it to be a new row in the table, but can't figure out how to set it as a new row. Private Sub TextBox1 ...Show All
Software Development for Windows Vista Support for multithreading workflows?
Hi, the announcement of WWF and the beta are great news . There are nice ways to run and sync workflow services in parallel. But I would like to know in what way the WWF framework supports parallel workflows in one service, i.e. in different threads: Do I need different workflows in seperated threads and write my own sync mechanisms or can I - in some way I could not figure out - use the designer to split one workflow into different threads ...Show All
Game Technologies: DirectX, XNA, XACT, etc. anxiety -- 2 question about Sample-Framework
1:------------------------------------------------------ I think here's some problems in sdk file(october 2005). Or the sdk is right but I am wrong I am not sure... in dxmutgui.cs line 854,MessageProc() not set the isDialogMinimized.. so when click the Caption,it's not minimize.. line 1655 OnRender() Rectangle(0, -captionHeight, width, 0); the last param is 0.so the caption even dosen't show at all.. I think the programmer copied the c ...Show All
Windows Forms Linklabel in a Datagrid
I have a datagrid that displays 1 column. This column could display X amount of records. Is it possible to create a LinkLabel on each record Reason is that the data in this DataGrid are links to documents on a directory on a server. It would be good if I could create a linklabel on each record so that when they click on it it will open up the document. ...Show All
Software Development for Windows Vista How to obtain Parent Activity , reading from a XOML
Hi , I have an XOML file representing a workflow with two activites. <SequentialWorkflowActivity xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/workflow " xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml " xmlns:otc=" http://schemas.OdeToCode.com/WinWF/Activities " x:Class="MyWorkflow" > <otc:WriteLineActivity Message="Hello, babu here !"/> <DelayAc ...Show All
.NET Development How to Pause or sleep the background worker thread
Posted - 05/03/2006 : 07:03:30 AM I m using the background worker thread to done the task. i m using this because my application required the update of the GUI based on the status of work so background worker thread will be helpful to me. Now the issue is that i have one button of pause/resume to pause/resume the working of this background worker thread. i haven't found any function of this component ...Show All
Visual C++ structures vs classes
(note: I have previously coded in Java and am now attempting to learn C++) If you will, list or explain the nature and-or language rules of both (structures and classes). Hi forum389. I probably made things more confusing than necessary by mentioning the native vs GC heap. The difference between structs and classes in C++ is the default access of members and methods. Take look at the links ...Show All
Visual Studio Express Editions Database search
Hi there, I am new to VB Express. I have a project that requires finding 2 fields in a mdb database. The search key is a variant rather than a text box. In the project I modify input from a text box. The resulted variant is the search key for retrieving 2 fields in the variant record. The database is structured as follows: Location Identifier Field1 Field2 Alocation ABC 123 456 Blocation DEF 789 ...Show All
Visual Basic Hex Editing
How do you Have a program like change some values of hex. For example in a file like it goes to offest 0x24E and changes a a certain number to a different number. System.IO.Directory.CreateDirectory(textBox1.Text) assuming the textbox contains the full path to the directory to create. ...Show All
Visual Studio Team System Can we do the changes in WorkItem forms in the existing team project
Hi, When I export process template, do the necessary changes ( like change in bug form layout) and import it back. I don't see the change taking place in the existing team project which has/uses same Process Template. How do make this happen wihtout needing to remove and then add team project. Thanks, Anu Good to hear Anu :) Out of interest, what was the cause of the above problem ...Show All
Visual Basic RegEx Help
I have a reg ex loop I am doing where as each line in a text file has to match a pattern( a number pattern, like 0.1...0.2.) that will be written to a new file. I cant seem to get this to work correctly. What might I be doing wrong Also how do I set my "Do While" loop to go until the end of the file is reached Dim data As String Dim mystreamreader As StreamReader   ...Show All
Visual Studio Team System TF31001 and TF31002 Errors on TFS
Hi, Logging on TFS as TFSSetup for creating team project causes the error TF31002 when trying to connect to available TFS. The TFS is online, name(TFS),port (8080) and protocol (http) are correct, also the password is correct because i'm logging on the TFS via Remote Desktop with the same Password. When trying to log on the same TFS with another name ( TFSService ) and trying to the the same action (creating Team project), the error TF3100 ...Show All
Visual Studio Team System Unable to view Source Control Explorer in Beta2
I currently have 25 or so developers running up against Beta 2's Version Control. Everybody up to this point has been fine. However, I recently added another member to the team and they can NOT see any of the existing projects under Version Control. I have given them every access right I can find (include Project Administrator on the Team Project itself). Any ideas or things I could try Thanks, ~slee To be hon ...Show All
Smart Device Development problem setting up connection for Pocket PC 2002 emulator
help~~~ i have installed MS Loopback Connector on my desktop and the connection icon run well in my system tray. I try to ping it and it show the connection works as well... However, when i use my emulator to connect to www.microsoft.com (for example), it prompting an error message: Trouble Connecting Unable to connect with current settings. To change your connection settings, tap settings. i do not know what's wrong with my connection.. and i ...Show All
Windows Forms WinForms Markup Language
Not sure if the correct place...But this is cool... Does it have a future Will it act as a stepping stone to XAML http://www.windowsforms.net/articles/wfml.aspx Marc Clifton has written an <a href="http://www.codeproject.com/dotnet/vgclock.asp ">article on ...Show All
