SAAM's Q&A profile
Visual C# bindingNavigatorMoveFirstItem
I am using Visual C# Express Edition I am wanting to move around my database using code instead of the binding Navigator. Is there a way to use the "MoveNextItem" statement in code Bruce hi, bindingNavigator uses your binding source you can do that as well this thread has the same question http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=447752&SiteID=1 hope this helps ...Show All
Visual Studio 2008 (Pre-release) turn tooltip visible
How can I turn a tooltip visible (forced). If I use IsOpen = true, then it stays there forever. What I actually want to do is: if the mouse is hovering over the control, and I need to display some info to the user in a tooltip, then I want the tooltip to show. Currently, if I am hovering, and I change the tooltip property to Visible, it doesn't also show it. Any ideas Off the top of my head (read: didn't try th ...Show All
Windows Forms C# Combobox ValueMember problem
Hi all, I'm pretty new to the world of C# and .Net and enjoying it so far. I'm having trouble setting the index value in a combobox. I'm using MySQL connector/Net and because it doesn't provide certain tools/extensions to work with Visual Studio I have to do certain things manually (which isn't problem because it helps me understand C# and .Net better). :^) My original intention was to take names and ids from a table and use the id as the ...Show All
SQL Server Problem connecting to database
I am running sql server 2005. I had to recover several databases by attaching the mdf and log files. Then I did a local registration. It appeared to work and I can open the tables. However when I try to connect to these databases in another application, it does not see these. It should recognize automatically any sql server 2005 databases. I would really appreciate assistance. I would look and check to m ...Show All
SQL Server SQL Server 2000 Enterprise - memory usage
Hi, I'm running SQL Server 2000 Enterprise on Windows Server 2003 Enterprise with 8 GB of Ram. For some reason SQL Server is not using more than 120 MB. I configured the options below to enable SQL Server to utilize more than 2 GB. If I keep all the default options, SQL Server will use approximately 1.7 GB of 2 GB allocated. I want to know why sqlserver is not using more than 120 MB with the ...Show All
Game Technologies: DirectX, XNA, XACT, etc. 1D and NPOT texture
Can anyone tell me how to use 1D texture and NPOT texture Is the Texture object always create POT texture or it can be used to create any size texture Thanks! mabeghin wrote: Be aware that creating a texture with height 1 can completely crash the nVidia drivers depending on the card and on the drivers version. Don't do it in a commercial application. I found this problem and it took me time to find that it ...Show All
.NET Development Regular Expression for character combinations or strings that should NOT match
Is it possible to specify a regular expression pattern for strings that should NOT match something. For example, I get a string that specifies a number of codes like: VV, VVP, PVT, XXP, G, BB. I would like to select all codes from the string that differ from VV or XX (so XXP is a valid code!). Is there an easy way to do this using regular expressions ! Best regards, Philippe Thanks, that works indeed! But I ...Show All
Software Development for Windows Vista Where do I get WCF Activities
We keep being teased about prototype WCF Activities in various demos and webcasts to inetgrate WWF with WCF. (SendMessage,ReceiveMessage, SendReceiveMessage,ReceiveSendMessage) Does anyone know where we can obtain these -even if only prototype/Beta it would be useful to get up and running. NB When I add a Indigo Service, via an 'Add Web Service' it does not add a reference to System.ServiceModel. Contary to James Conard demo. Thanks Jule ...Show All
Visual C++ retrieve symbols from the line
Is it possible to enumerate all symbols from the line using DIA SDK or dbghelp.dll. I know how to get symbol from a function but I need only from the specified line. I try to write some code to detect memory leaks and to show more information about leaks (not only file and line number), for example data of leak (if it is int - show number, if it is string show string and so on). So I need to get type of allocation. MyType* pVar = new MyTyp ...Show All
SQL Server How to check if row exists...
Hello, I'm SQL Server 2005 newbie, could you be so kind and help me how to write the most efficient way stored procedure, which checks by PK if specified row exists, then updating the row, otherwise inserting new one. Thank you for your kind help. If EXISTS(select 1 from MyTable where MyPK = @PKValue) Insert else Update ...Show All
Windows Forms Where to download TaskVision Database!
I can not install TaskVision. Who can give me a DataBase Script to download! Thanks a lot! are you using the VB version or C# If you are using the C# version, you can download and install the server code for vb, this will&nbs ...Show All
.NET Development Error on TableAdapter's output parameter
I'm using typed DataSet and TableAdapter. The TableAdapter has an update method with output parameter using SQL stored procedure. When I compile the code, I'm getting an error message "cannot convert from 'out int' to 'out int ' I can't find what is wrong. Below is the code that I'm using private void button2_Click( object sender, EventArgs e) { int iGroup = 0; GPTDBDataSetTableAdapters. QueriesTableAdapter ta ...Show All
.NET Development Bitmap Load and Save
Hi All, sure this is obvious to most of you, but please be patient and Help me : I load a bitmap with: imgInternal = new Bitmap (path); pictureBox1.Image = imgInternal; when I try to save it (not modified, nor even touched !) with: imgInternal.Save(saveFileDialog1.FileName); or imgInternal.Save(saveFileDialog1.FileName,imgInternal.RawFormat); and the image is saved as a 32 bit BMP. I want to keep the original format, h ...Show All
Visual Studio Creating custom project
I am trying to create a new project type in the visual studio .NET 2005.There is 28 step method is given for creation of the custom project. At one of the step it is talking about a dll microsoft.visualstudio.package.project. This dll is not available in the vsip. We have downloaded the visual studio 2005 SDK & installed. Please provide simple steps for the creation of the project type. Example of the code will also be helpfull. Th ...Show All
.NET Development about collection and template variable
Hi: I am using Visual Basic.Net 2005 and Framework 2.0. Now I design a class as following: public class para(of T) dim ab as integer dim content as T end class and also I have another class public class equipment dim id as integer dim name as string public paracol as New System.Collection.Generic.list(of Para) end class Here, I have a problem. Because my class para includes a templ ...Show All
