praveen gupta's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. How can I learn working with DirectX?
Hello, How can I learn working with DirectX in C#. Knows somebody articels about beginning with DirectX DIII ...Show All
Visual Basic Help with adding an executable file as a resource
Is there any way to add an executable as a project resource and reference it in the code. I added a small executable to my project and tried to run it like this: Process.Start(My.Resources.exeFile) It causes an error. Also, the above code is activated by a button click. I have a couple of exe type file that I want in my program but, at the same time I want to make the program a single executable. I would be able to do this if I made a fold ...Show All
Visual Basic Reporting in Visual Studio
Product: Visual Studio Standard Edition Language:VB.NET Subject: I'd like to set up a report module for an application that I'm currently developing. I'm fairly new to Visual Studio and VB.NET but have programmed in other languages and have worked with reporting modules. Hello and happy holidays, Can someone please explain the report item/class in Visual Studio's and how it can be implemented using VB.N ...Show All
Windows Forms Handling differents screen resolution
I would like to develop an application in Visual Basic .NET whose windows forms can fit perfectly in differents screen resolution without user's intervention. How can I handle that Thanks in advance, Joanna. I've solved this problem in the past for the 1.1 framework by using the layout library over here at http://www.csharphelp.com/archives/archive7.html It gives most of the Layout features in Java, and now in .Net 2.0 ...Show All
Visual Studio Express Editions HOW TO programatically connect to Access DAtabase
i want to connect to my Access datablse programatically i read through the help at... ms-help://MS.VSExpressCC.v80/MS.NETFramework.v20.en/dv_aspnetcon/html/c9caa6be-f3f2-400a-b6bc-2debbbf23703.htm "the local help" It says Open the Web.config file in the root directory of your ASP.NET application. If you do not have a Web.config file, create one. i have installed only VB express edotion 2005 do i need to install the completee v ...Show All
SQL Server need help, How to change datatype in order to sort some extracted numbers from string
Hello, I am trying to extract from some strings like the following strings the number and order them by that number: Box 1 Box 2 Box 3 Box 20 Box 21 ...(and so on) The problem I am having is that I already extracted the number using Substring([field],[starting position],[lenght]) but the output seems to be in a string format, so the order is not in an ascending order. Thanks for any suggestions. You need to ca ...Show All
Smart Device Development [Windows Mobile][C/C++] how getting Application Launch/exit time?
I wish to retrieve application-launch/exit time informations on windows CE platform development. Does someone know the equivalent of the function GetProcessTimes available on NT platforms but not on Windows CE http://msdn.microsoft.com/library/default.asp url=/library/en-us/dllproc/base/getprocesstimes.asp Is there another way to get back process creation time than encapsulating a CreateProcess method by both GetSystemTime function ...Show All
Visual Studio Here's a gotcha when stringing together several msbuild files
I came across an oddity last night when trying to setup a build…. I’m going to go into a little more detail than is maybe necessary incase someone sees it and can say whoa back up your going about this all wrong I have the following root directory structure DependentFiles Source Vendor VendorLibs Vendor.proj Myproject.targets I use several open source projects which I need to build myself because t ...Show All
Visual Studio Document Explorer extremely slow to start, can't access online help
I'm experiencing a performance problem with Document Explorer. From what I can tell, it involves online help -- in other words, if I limit it to use just local help (full MSDN installed on a local drive), it functions more or less normally. If I let it also use online help, searching simply locks up Document Explorer. I use the words "more or less normally" because even using local help, it takes almost two minutes to start up, ...Show All
.NET Development SqlDataSource
I have a SqlDataSource, lets say sqldatasource1. I can programmatically run it to do inserts, deletes and updates from with in a sub and that works great. When I try to do the select as in sqldatasource.select(). It wants an arguement in the select parenthesis. But I can't find anything that explains what that argument is. I work best from examples if someone can provide one that would be great. He actually gave ...Show All
Visual Studio Express Editions Mfc and applications
I downloaded the visual c++ express. I have been making a program that i want to on click to get the text information from one text box and put it into an array then put the info from the array into another text box. Ive been reading alot about mfc and from what i can tell i am missing the mfc wizard or it is not included. what do i need to do. Do i need to get the standard visual c++ or what, and where can i find it. ...Show All
Visual Basic How to call API in VB.NET 2005
Hi, I'am trying to use setwindowPos() Api in vb.net 2005 but it is giving me following error :- A call to PInvoke function (the function of setwindowpos()) unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling convention and parameters of the PInvoke signature match the target unmanaged signature. I want to use this Api because i'am tr ...Show All
Visual Basic Making a picturebox have a transparent background
I have a picture of a panda with a pink background (panda_down.bmp) and I was wondering: how do I get that pink background to be transparent Draw the image yourself in a paint handler, and use the imageattributes class to make 255/0/255 ( magenta ) transparent. ...Show All
Windows Forms About System.Windows.Forms.Timer, Stop, and GC under heavy load.
Hi, quote from Forms.Timer.Stop() MSDN documentation: A timer that is disabled is subject to garbage collection. The application code I work on happens to do things such as: void MyTickEventHandler() { timer.Stop(); /* do a bit of work */ timer.Start(); } Under heavy loads, the timer sometimes seems not to restart anymore at some point (= the timer get dead). Given ...Show All
Software Development for Windows Vista Problem with SQLStatePersistence
I added the sqlpersistence service to my Workflowruntime (with a valid connection string). I have two events that i will trigger: SubmitEvent, and ScanEvent.. When I call my submit event the workflow gets to a new state where it is waiting for the scan event..\ At this point the workflow instance is idled. Now when I raise the ScanEvent with the same instance ID i get an error EventDeliveryfailed for the instance ID.. When I look in the innerexc ...Show All
