RyGiL's Q&A profile
Visual C++ invoking the msdev debugger from the commandline
I am using the following text in command prompt rather cygwin to start the msdev debugger to debug a process but it doesnot attach directly to the process and I have to exclusively attach to the process. need to know if the parameters are missing "msdev mdbsrvr.exe -section BEAMDBSERVER -dbg" herein the mdbsrvr.exe the target process being used by BEAMDBSERVER process This might be a question for the Cygwin people, but I sure can understand that you would prefer to get help here. Those Cygwin people can be brutal. So first check the documentation, because the Cygwin people will just be rude if you ask a question without doing the things we are suppose to do first. ...Show All
Windows Forms String Function for repeating character string
in VB6 we can use String Function for repeating character string of the length specified, what can be used in windows mobile or visual studio The String() function is still around in VB.NET. For C#, you could use this replacement: public static string FillString(char ch, int count) { StringBuilder sb = new StringBuilder(count); for (int ix = 0; ix < count; ++ix) sb.Append(ch); return sb.ToString(); } ...Show All
Windows Forms ntdll.dll Issue
Problem: IE crashes while surfing certain web sites, citing ntdll.dll as the problem child. Research indicates that it's due to stack overflow on ActiveX controls that some web sites use. Articles indicate the issue was fixed in previous patches but has rebroken in more recent upgrades. Article 836506 says there is a fix available, but you have to contact Microsoft at $99.00 per instance in order to find out what that fix actually is. Anyone have any solutions a guy could try Setup: Windows 2000, SP4 Troubleshooting steps to date: SP4 patch rollup & reapply SP4. Current version of ntdll.dll is more recent than the version indicated in the article referenced above. You'll need to get the hotfi ...Show All
Visual Studio Express Editions text box to end of URL and open in new window
I have a text box that I would like to have the user enter a stock symbol, click a botton and get the stock quote. I think the best way to do this to have what they typed pasted at the end of http://moneycentral.msn.com/detail/stock_quote Symbol = then open in a new window. It would be better if I could getthe quote displayed on in the program, but I'm sure that's far to complicated for me. I'm just starting here, (obviously), so any help would be appreciated greatly. You could very easily just use the System.Diagnostics.Process class to load the URL in the default web browser with a line of code as simple as this: System.Diagnostics. Process .Start( "http://moneycentral.msn.com ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Where in content pipeline does volume textures fail?
Currently volume textures aren't supported in the Content Pipeline. So if I have a mesh that references a volume texture it will fail compiling. So, is it just a matter of writing a custom importer for volume dds files or is it all the way through the pipeline Will ContentManager.Load<Texture3d>(...) work if I just write the importer Say it is so...it is Christmas after all :-) Noooooooo...! Anyways, volume textures are useful for so many things. To begin with it is probably the easiest way to do simple animations for things like smoke and explosions. Just interpolate the w coordinate and there you have smooth transitions for free. Anyways...I've already made a post on connect about this w ...Show All
Software Development for Windows Vista Manifest files for Vista
Hi, For some of the exes of my product, I need administrative privilege. So I embed them in my application with "requireAdministrator". It works fine on Windows Vista and prompts for allow/deny or administrator uname/password as applicable. But the same program has non consistent performance on previous OS versions(XP, 2003 Small business etc). It shows blue screen sometimes for the applications where these manifest files are embedded. One can avoid these blue screens if the embedded manifest file is also present in the same directory as the exe for other OS. I do not want to make my application dependant on the presence of manifest file in the same directory. Is there a way out Is there a tool to find whether an embedde ...Show All
Visual C++ Smartbridge Alerts
I too am receiving the "entry point not found" message. I have very little technical knowledge and would appreciate assistance in any fashion. thanks. Helen McLaughlin Jonathan....thank you for your interest. The error message is: The procedure entry point GetProcessImageFileNameW could not be located in the dynamic link library. I have absolutely no idea what it means. Helen ...Show All
.NET Development Serialization design problem relating to custom objects
Hi, I am developing a modeling application where custom objects would be created by certain external assemblies. These assemblies would be picked up on the fly by using reflection. In my application, I have defined an abstract class ObjectBase, which implements ISerializable. The custom objects would derive from this class. Lets say that a model is created, and a custom object from an external assembly is added to the model. Now we save the model. Saving is implemented using binary serialization. Now, I give the saved model file to a friend, who does not have the assembly present on his machine. In such a case, deserializing the model on his machine would fail. To overcome this problem, I have defined a placeholder object, called ...Show All
Software Development for Windows Vista can we run an application with user as SYSTEM using CreateProcessAsUser()
i want to run an application using the user as SYSTEM. can we use CreateProcessAsUser() to run the application using the user as SYSTEM. how can we do the same what is the credential that we need to give for the same i have a few questions : 1. what is the SYSTEM is it a super user 2. i have tried to look this up in Active Directory but it is not available there. where is it stored 3. if we need to use the SYSTEM, what is the credential that need to be provided for the same i have an AD code which lists out the objects of the ADAM partition using DirectoryEntry() call. this works fine if the application is run in the command line (where the user is administrator). but when the same is run by spawning it from a remote machine, it gets the ...Show All
Windows Forms SendKeys cannot run inside this application
Hi All I have created a class libraray using VB 2005. I am using F8 key to populate a list of value window keeping the cursor in the text box. But i get a strange message as below "SendKeys cannot run inside this application because the application is not handling Windows messages. Either change the application to handle messages, or use the SendKeys.SendWait method." My code looks like this If (sListOfValueField = "DocumentClass" ) Then Me .sDocumentClass.Focus() SendKeys.Send( "{F8}" ) Any reson for this Thanks in Advance Prash SendKeys.Send() needs an active message loop on the current thread to play back t ...Show All
Audio and Video Development iHDSim catastrophic failure
Just wanted to report a strange bahaviour of iHDSim when having specified multiple audio languages for a title. WORKING: <TrackNavigationList> <VideoTrack track="1" /> <AudioTrack track="1" langcode="en:00" description="English 2.0" /> <AudioTrack track="2" langcode="de:00" description="German 2.0" /> </TrackNavigationList> NOT WORKING: <TrackNavigationList> <VideoTrack track="1" /> <AudioTrack track="1" langcode="de:00" description="German 2.0" /> <AudioTrack track="2" langcode="en:00" description="English 2.0" / ...Show All
Windows Forms Is it possible to make the setup install .NET framework and SQL Express automatically?
Any suggestion Have anyone tried Install Shield Can it do this for me My problem is our users are really novice to computers. They know only put the installation CDROM in the drive and then click "next" "next" "next" "next" "next". Thank you In Visual Studio 2005 you can do this... In a Windows Application using ClickOnce: Open the Publish Page Click the PreRequisites button Select the .NET Fx and SQL Express items Publish your app and install using setup.exe In a Setup project Open the project properties page Click the PreRequisites button Select the .NET Fx and SQL Express items Build your app and copy/install from the setup.exe ...Show All
Visual C# Passing Values from Form A to Form B and vice versa!!
Hi all, I'm using Visual C# Express 2005. I have two forms, form A and form B. I can pass values from form A to form B but I can't get the values from form B to form A. Any help would be appreaciated. Thanks in advance!! This question has been asked a couple of times on the MSDN forumns. I would try and search first before asking. Most likely you will be able to find the answer. Here is one " Assigning values from one form to the main form " ...Show All
Visual C# FileDialog and HookProc
Problem: I would like to find and example of a class derived from the abstract class FileDialog that overrides the HookProc methods for special functionality. I would like to obtain a selected file name; the file name provided by-Microsoft-design includes the full path to the file name, the filespec and its extension (basically the whole filename). Additionally, I would like to obtain a list or collection of all the file names found in the selected folder or directory list by the FileDialog (OPENFILENAME) list box control which hold the file names. When the FileDialog window closes I want to add the file names from the FileDialog window (modal dialog) to another UI list box control; I want this receiving list box contro ...Show All
Windows Forms Datatype Mismatch- VB.Net or VS 2005?
Hi I have a filed (ID) in a table and its datatype is number (long integer). I have select command in 'windows form' and textbox (TextBox1)control in the windows form, will be populated by the filed (ID) from the 'access 'database. If I change the datatype of ID field in table from Number to Text its works. But if the field ID's datatype is number I am getting 'datatype mismatch'. Could anyone please tell me how do I change the datatype in the windows form or any other way to solve this. When do you get this error message exactly This should not be to hard to change a type 1) edit the table 2) edit the dataset (if you are using one) (re-configure "Fill" query) 3) edit code you wrote yourself in your project. D ...Show All
