Bas2005's Q&A profile
Visual Basic Accessing a running program's ram
I want my program to access a program's ram (when the program is running in memory) so I can debug it explicitly. I know how to edit a file by storing it in a buffer but how would I do this when a program is running. If suggestions or code samples are given, please make sure they are for vb.net and they are explained. Thanks. Hi! Access memory Your program access it's memory. Access to other program's memory is protected for securit ...Show All
Visual Studio Express Editions Naming Conventions - Visual Basic 2005
Hi All, I have been looking all over the internet for the correct naming conventions for Visual Basic Applications. I did get some and with VB2005 having new contolls there are allot that i cannot get. Here is a list of what i do have. Can anyone please help in supplying what i cannot get. Or correct the ones that I got wrong. Button cmd CheckBox chk CheckedListBox ComboBox cbo DateTimePicker dtp Label lbl Li ...Show All
SQL Server Is there an IN( ) function?
Is there and IN or and InList function in Reporting services I'm trying to do some conditional formatting and it would be really handy to be able to write an expression such as =iif(Fields!blah.Value In(X,Y,Z),"Red","White") Hi, There is no IN function. I have been using OR functions for this ...Show All
Visual Basic Reading Files in a Folder
I have 'combobox1 inside my 'groupbox1' I also have a couple of documents in a folder on my desktop called 'docs' What code do i put in so the combobox lists all the docs that are in the 'docs' folder Imports System.IO Dim desktopDir As String = Environment.GetFolderPath(Environment.SpecialFolder.Desktop) Dim dirName As String = Path.Combine(desktopDir, "docs") Dim dir As New DirectoryInfo(dirName) For Each file As FileInfo In di ...Show All
Visual Studio Express Editions New to VB, this can't be rocket science... Object reference not set to instance of object
Hello, I am new at this, and am trying really hard to figure this problem out knowing there is a simple solution to it! Basically I created a form that allowed me to select an item from a list box. When I selected that item I turned it into a variable so that I can do other things with it later in the program. All I want to do now is save that variable back to a new database under a different catagory. I know I might be writing this all w ...Show All
Visual C# Folder Browser
Hi, I need to implement a web control similar to FolderBrowserDialog but I don't know how to start. Can anyone give me a hint Thanks a lot Ran Thanks for your answer. I tried to google for a while but I did not found any adequate answer. I may try it again. Ran ...Show All
.NET Development consuming .Net webservice mobile
Hi all, I'm consuming a web service from a mobile based on j2me platform. I'm using the Soap protocol. Some times the device throws an exception of "malformed header field", I learned about the exception, and It was the XML parser cann't parse the response correctly. What can be the problem with the HTTP header is the server is the reson or the client what is the job of the HTTP header Please give me some ideas seeking the ...Show All
Visual Studio Team System Unit testing a form...
We're trying to unit test the main form of our application. Things like instantiating the form, checking for the default controls, invoking something that creates a new panel, checking for focus inside this new panel... all these things work great. For testing navigation we're using the SendKeys class to send a Tab key press to the form from the unit test. This works fine when you run this test method independently. However, when I run my ent ...Show All
Visual Studio Team System Specify Alert Settings after Installation
Is it possible to change the alert settings from the Specify Alert Settings page in the installation, after Team Foundation Server is installed. Or do I have to re-install it pjp Will this work with TFS 2008 Thanks ...Show All
Visual C++ directx 9 lib error: unresolved external symbol
hi there all i and new here and i am very interested in getting a answer for my problem. i am learning now directx9 programing and i have compile errors like: Linking... Game.obj : error LNK2001: unresolved external symbol _GUID_DirectMusicAllTypes Game.obj : error LNK2001: unresolved external symbol _CLSID_DirectMusicLoader Game.obj : error LNK2001: unresolved external symbol _IID_IDirectMusicLoader8 Game.obj : error LNK2001: unresolved externa ...Show All
Visual Studio Team System Source control error when working with MCMS project
When we try to source control our MCMS project to TFS we are able to get the files and structure pushed to the system However, when we try to check in the project we are receiving the following error: Unable to cast object of type 'Microsoft.ContentManagement.DeveloperTools.VisualStudio.Documents.TemplateExplorerDocument' to type 'Microsoft.VisualStudio.Shell.Interop.IVsHierarchy'. Any ideas or solutions Thanks Marc ...Show All
Visual C# Need Tips on finding information (Vikram)
I'm amazed how much info is available from MS. I'm also shocked on how hard it is to find it. For instance: I was trying to find how to set the node in a tree view. I searched and searched and I could find nothing. This was a dumb thing on my part because I didn't hoover long enough with my mouse. Someone showed me an example here on the forum. I wanted to convert a string to an integer. If you don't know where to lo ...Show All
Visual C# a question on multithreading
Hello, I am using a global variable 'globalvariable' to pass data from main thread control (button click) to a thread (receivedata) i create for doing background work. once started, receivedata thread is suppose to run all the time with infinate loop to do it's work. Now my question is can i keep updating the global varible from the main thread without affecting the background thread. to make it more clear... say.. there are two threads 'm ...Show All
Visual C++ VC2005 %50 Slower then VC2003
I just migrated a graphics application from VC2003 to VC2005. After building it, I ran a small benchmark & found that VC2005 code was about %50 slower. The Application does a great deal of floating point and integer calculations. It also converts doubles to int quite a bit (the VC2003 version used SSE to handle this). The VC2003 version used /G7 and /Ow (which are not available in VC2005) Compiler Switches Used: (vc2003)/arch ...Show All
Visual Studio Page N of M
A special field exists that displays Page N of M where M is the total number of pages and N is the current page. I would like to display Page N of G, where N is the current page number reset after each new group and G is the total number of pages in the group. Does anyone know of a way to do this Note that I have a page break after the end of each group. Thanks Go into the Section Expert and select the gr ...Show All
