jot's Q&A profile
Visual Studio Express Editions Databinding Doesn't work!?
Dear all Even though I have followed the tutorial on data binding gui's on msdn, my installation of vs.vb.net 2k5 doesn't add data. I've created a table in the sql database, added the dataset, drag and dropped the data table onto the form in detail view. I also entered some test data directly to the database in vs.2k5 enviornment. Running the program it displays the records in the database. I've added an msgbox command to display the "updated" records from the form's dataset. Saving new records causes a message to popup giving a new record count, which i assumed added the data to the database. But closing the program an ...Show All
Visual C++ Can not add control based variable in Add Variable wizard
I have a wierd problem. For some reason I am unable to add a member variable that is a control.. the check box is disabled when I click add variable. Some context here: I have a project that has a rc file included in the projects rc file. i.e. resource.h myprojectname.rc The commonresource.rc is included in the myprojectname.rc file. commonresource.h commonresource.rc Also the to prevent compliling the commonresource.rc we have it set in the project as exculde from build as it gets built when myprojectname.rc is built. I have tried the normal checks to see if the appropriate files are checked out / read only etc... An ...Show All
Visual Basic MDI form startup
Hi I last used .Net 2002 and in the MDI form used the code below. In the properties of the project you set the compiler to start the main() function first. Where in .Net 2005 do you set this property(i.e. if it's stil there...). I need the app to start my Login form first. Any ideas <System.STAThread()> _ Public Shared Sub Main() startMyApplication() End Sub Private Shared Sub startMyApplication() 'Login Dim frm1 As New frmLogin() If frm1.ShowDialog() = System.Windows.Forms.DialogResult.OK Then System.Windows.Forms.Application.Run(New frmMDI()) Else Sys ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Geometry.IntersectTri
using dx december 2005 sdk. where is Geometry.IntersectTri(...) function it was in MDX 1.x but i can't find it in MDX 2.x if u need to use it now, i quickly made a wrapper for the c++ intersect tri function: (i made this in 15 minutes so it might need some work, but it seems work) make a new managed c++ project #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers #include <D3DX9.h> #include <stdio.h> // Link required libraries #pragma comment(lib,"d3d9.lib") #pragma comment(lib,"dxerr9.lib") #ifdef _DEBUG #pragma comment(lib,"d3dx9d.lib ...Show All
.NET Development No of threds in DotNet
hi, i want to know how many threads will be thier(running) when an dotnet application runs. No he's not, the GC runs on a user thread (or threads). There is no fixed number of threads running in a process (using the CLR), what you have is a main thread a finalizer thread and a debugger helper thread as a minimum. The CLR your code(managed and unmanaged) and the framework classes can create any number of additional threads as it sees fit. Willy. < sureshsundar007@discussions.microsoft.com > wrote in message news:235f92b5-18 ...Show All
Windows Forms "Help" button/utility
Hi, I want to make a "Help" button in my application that opens up help documentation in the msdn format. I want it to have a side panel, with index, search, documentation etc. and the main panel with the actual documents. Is there some "help" document control that comes with .net which does it all for me and I only need to pro ...Show All
Windows Forms ComboBox no longer has scroll events?
VB 6 had scroll events for the ComboBox, but I don't see them, either in the documentation or the IDE intellisense. Is this not available in .NET I want to load up only the first so-many into the ComboBox, since there can be more than 100,000 values, then load up the next group when they scroll to the bottom of the current bunch. Is there some other way of doing this (I tried search, but get an error.) Peter. Unfortunately there is no easy way to do this - the ComboBox Control does not support a "virtual" mode. Joe Stegman The Windows Forms Team Microsoft Corp. This posting is prov ...Show All
Visual C# MultiThreading
hi,, i want to know how can i send a parameter to a method with multithreading,, for example: Thread t = new Thread(new ThreadStart(Service)); t.Start(); im calling the method Service with multithreading,, but how can i send the parameters that that method needs ,,,, that method is Service(int x) and i cant do this Thread t = new Thread(new ThreadStart(Service(20))); t.Start(); some 1 know how can i do it thx mig16 What I usually do in .NET 1.1 is create some kind of a 'task pattern'. I create a class that is some wrapper around the task that has to be performed on another thread. ...Show All
SQL Server Sum from two tables.
Hi, I'm new with this SQL and I have one question where I need help. I have 2 tables (Table1) and (Table2). Both tables have columns (ItemNum) and (Pcs). Table1 is for items which we have. Table 2 is for items which we have delivered. I need to calculate the sum of how much we have Items. So the query should show ItemNum and how many pcs we have. Example: Table 1 Id ItemNum Pcs 1 1 10 2 2 30 3 1 22 Table 2 Id ItemNum Pcs 1 1 6 2 2 12 3 1 6 So the Query should show Item ...Show All
Visual Basic Published application attempts to connect to Microsoft
Hi, I'am a complete newbie and have a problem. I have published an application and copied the files to CD to install on another computer. When I run setup.exe it attempts to connect to Microsoft Website. This PC has no network or dialup connectivity. How can I alter my published applications settings so it does not require to check the microsoft web page. Also... When I run setup.exe where are the files saved to on my hard drive Sorry for the stupid questions. Mic. The only reason I can think of for it to be going to the microsoft site is to get components that don ...Show All
SQL Server Audit Transformation error
Hello all, I am getting an error that I am stuck on. I dragged the Audit Transformation for error handling (Flat File Source); however, the Audit Transformation is returning an error for one of the standard column "User name". I tried to change the length or take out this column, but the error does not go away. Below is the error message. Your help is much appreciated! -Lawrence "The length for "output column "User name" (195)" is not valid for the specified lineage item." "component "Audit" (180)" failed validation and returned validation status "VS_ISBROKEN" ...Show All
Visual Basic Print on saving passbook
Hi everyone, I'm writing a program which need to print transaction on the client passbook (Saving Passbook) when deposit, withdraw or update the interest... I don't have any experience with that at all. I'd like to know if you have any idea with that. Thanks in advance for your advice. ...Show All
Microsoft ISV Community Center Forums When to program in VBA and when not to???
Hello Guys and Gals I have to make a presentation about VBA, and one question I need to answer is when to program and when not to program in VBA. That is, I sure will not program a Find function, since there is one built-in, and it does a great job. But I sure would want to write code that would enhance the Find function and make it look in multiple worksheets. What other examples of when not to program can I use Thanks for any help. Wassim Don't bother programming a sort routine in Excel, unless it's a way to automate the sort to allow worksheet sorting of more than three fields. Jon Peltier, Microsoft ...Show All
Windows Forms Trial software development
I am on a project where we are developing a Windows application in Visual C#. We are releasing trial versions for beta testing. What I'm wanting to know is how do I make the application expire or self-destruct after 15 days Then, I'm also wondering how to create a registry key for the software like Windows and Office requires at inst ...Show All
Visual Studio Team System Solution file error MSB4054
Hi experts, I have a error in building, the message in log.txt is shown next: Solution file error MSB4054: The solution file must be opened in the Visual Studio IDE and converted to the latest version before it can be built by MSBuild. the project i want to build is an visual studio 2003 solution that use .net frameowrk 1.1, i can make it successfully in vs2003, but when i migrate it to team system, it failed. I install build service in TFS client machine, which is Windows server2003, VS2003. and i use TFS Trail version (180 days) at dual node. Can some one help me thanks a lot. Hi, Have you ...Show All
