JinMengcheng's Q&A profile
SQL Server How can I create a one-to-one relationship in a MS SQL Server Management Studio Express Relationship diagram?
How can I create a one-to-one relationship in a MS SQL Server Management Studio Express Relationship diagram For example: I have 2 tables, tbl1 and tbl2. tbl1 has the following columns: id {uniqueidentifier} as PK name {nvarchar(50)} tbl2 has the following columns: id {uniqueidentifier} as PK name {nvarchar(50)} tbl1_id {uniqueidentifier} as FK linked to tbl1.id If I drag and drop the tbl1.id column to tbl2, I end up with a one-to-ma ...Show All
Visual Basic Run an external .exe program from VB 2005
How could I run an external .exe program from VB 2005 I searched the help and everything, and found nothing in visual basic. I am new at VB. I have been working with it for about 4 months. Please help me! CHeck out the process class and the startinfo class... Dim p As New Process p . Start ( ThePathOfTheEXE ) That is the simplest way but using the startinfo class you can specify a wide range of properties to control your ...Show All
Visual Studio Team System finding an exception
hi, Can anyone tell me what are the different ways of finding out an exception hi, ihave another problem now. On finding the exception, i've to check for the presence of destructor in the target sample. How do i implement a rule which will check for destructors ...Show All
Visual Studio Team System Load Test Display
Is it possible to display where each user is during a load test My goal is to have code webtest that is similar to the following: display (User Login) <http requests> display (User Logged in As UserABC) <http requests> Then while running the load test I have created for the webtest. I would be able to see where each user was in the code with the display statements in a list. For example, User1 User Login User2 User Logged in As Us ...Show All
Smart Device Development gapinet hp 4700, no screen updates
Hi. I am trying to develop an animation sequence using the c# Wrapper GapiNet dll. However, I tried out all available sample applications but none would work on my hp ipaq 4700. The first screen is drawn and no updates follow. Is this because the developers of GapiNet focussed on 16bpp frame buffers while the hp 4700 features a frame buffer memory bandwidth of 2 bpp (similar to a monochrome display). If so, why does the application manage to dr ...Show All
Microsoft ISV Community Center Forums Put Certain E-mail Address in FROM Field
Dear All, Please help me , I need A VBA code to always Put certain E-mail Into FROm field before sending any E-mail messages automatically with OUTLOOK Dawy You can use the "SendOnBehalveOfName" property: Sub MailMe() Dim outApp As Outlook.Application Dim outMail As Outlook.MailItem Set outApp = CreateObject("outlook.Application") Set outMail = outApp.CreateItem(olM ...Show All
Windows Forms Unable to install ClickOnce application from ISP's web site, just get XML page displayed
I have a VB2005 application that I've published to my ISP's web site, when the install button is pressed all you get is the XML MyApp.application file displayed in the browser (Win XP SP2 IE6 also same for W2K). Also created new app it to does the same. Loooking through this forum I see that other people have had similar problems their cure was to get their ISP to associate the .application extension with the MIME type ' applicati ...Show All
Windows Forms Scroll problem .HorizontalScroll.Value = 0;
Hey Guys, I am linking to scroll bars together by monitoring if one changes and then simply making the value of the other one the same as the one that changed. Why does this line not work Blah.HorizontalScroll.Value = 0; Setting it to 1, works but setting the value to 0 does nothing! NOTHING! Kris Problem 1/2 solved.... i was using this: private void dgvQueryResult_Scroll( object sender, ScrollEventArgs e) { ...Show All
Visual Studio Express Editions value from txtBox
Hi all, In the new version this code variablename = me.txtboxname.value or variablename = Val(me.txtboxname.values) don`t wrk it. Is there a another option to read values (numbers) in vb express or i can`t use it in vb express cheers, spike thx for fast reply. buit i will to take numbers as values. in older version if i type variablename = txtboxname.text wasn’t same like variable ...Show All
Visual C# Login
hi all, I am designing a login "component" for my application. Do you know of any good examples of login implementation on the web that I can get ideas from It must NOT be windows authenticated login. I have my own dB table etc. Thanks Hi If you have your own database table that stores your user's credentials then you could use SQL and ADO.NET to authenticate your users. The following assumes that you have a table call ...Show All
Smart Device Development C1190 error when compiling...
Hi, all, I am using Visual studio 2005 to make a Visual c++ project. I was trying to make a simple UDP socket and threading program. The device manager i am using is wm 5.0 for Smartphone, and wm 5.0 Smartphone emulator. Here is what I have in the header file: #using <mscorlib.dll> using namespace System; using namespace System::Threading; using namespace System::Data; using namespace System::Net; using ...Show All
Visual Studio Team System Canceling/Overriding UpdateBuildNumberDropLocation task
Hi all, I'm trying to make a build that doesn't update the Build Number in TFS database. When I add condition to the "UpdateBuildNumberDropLocation" and set it to false TFS build still adds the build number to the database and creates the drop locations. I tried to override the "UpdateBuildNumberDropLocation" task with an empty task but it doesn't help. The problem that there are no errors when running the bui ...Show All
Visual Basic Fundamentals - Use of Classes
Hi, I have used VB, and then VB.NET as my language of choice for a few years now, developing small-scale applications for various uses. I have a reasonably strong background in databases and data access, so I found the dataset and all it's friends easy enough to start using. My tendency to think in terms of databases however, is why I think I am having so much trouble with designing on my own classes. Now I understand the theory ...Show All
Visual Basic Compile error in hidden module: AutoExec -- Help please
Anytime I access a microsoft office program such as word or outlook, this visual basic error pops up. "Compile error in hidden module: AutoExec" It gives two options: "Ok" or "Help" - When I click Ok, I can continue to use the program - "Help" gives the following description: " Compile error in hidden module: <module name> A protected module can't be displayed. This error has the following cause and solution: There is a compi ...Show All
Software Development for Windows Vista Custom serializing of activity properties
Hi, how may i have an impact on how my properties in an activity are serialized I've tried using the DesignerSerializer attribute: [DesignerSerializer(typeof(ProcessUnitActivitySerializer), typeof(WorkflowMarkupSerializer))] but only the OnBeforeSerialize method of the ProcessUnitActivitySerializer was called. I would like to have my properties be XML serialized in a completely different way as the default. Implementing IXmlSerializable or usin ...Show All
