geo2000's Q&A profile
Visual Basic Visual Studio .NET 2003
Hello: Where is the best place to ask a question, or report a possible bug, with Visual Studio .NET 2003. My probelm is with the "Propert Pages" of a project in a solution. Thanks. The problem is that when I try to use a macro such as $(SolutionDir) when setting the "Output Directory" (in the Propert Pages for the project, under Configuration Properties...General), it interprets this as a literal string (and creates a directory called "$(SolutionDir)", without the quotes) instead of expanding the macro to something like "D:\usr\MySolutionDir". ...Show All
Visual Studio Express Editions declaring arraylist
How do i declare a arraylist variable in c++/cli. and i need to initialise 10 elements in it. How is done and how am i to get the value and gcnew it to array int a[3]={0,0,0}; a is variable name. To retrieve it a[0] is get element 1 a[1] is to get element 2; a[2] is to get element 3; a[3] declares end of array. ...Show All
SQL Server problem with custom assembly
Hi, I have problem with my my custom assembly: when i display the result localy in my report it's work very well but in web access with my Url http://localhost/Reports/Pages/Report.aspx ItemPath=%2fmydemo%2fReport2 i got a error message:#ERROR. As you can see my function return just string readed in text file. using System.Collections.Generic; using System.Text; using System.Security.Permissions; using System.IO; namespace SimpleDLL { public class SimpleClass { public SimpleClass() { } public static string returnString(){ FileIOPermission fileReadPerm = new FileIOPermission ( FileIOPermissionAccess .Read, @"C:\TempFold\Sample.txt" ); fileReadPerm ...Show All
Visual Studio 2008 (Pre-release) Root object in DOM again...
The original post was here . I got an answer from Pablo, it was helpful but I hit the wall again while trying his suggestions due to the reason I mentioned in my previous post. I still didn't get any satisfactory solution, hence I ask you all again: 'Is there a clean way to incorporate root object in your DOM using August CTP '. My definition of root object in this context is: 1. It is not required to persist the root object. It is just there to add some behavior to all the other objects. 2. Every other objects (whether it is persistent or non-persistent) in my DOM will inherit from the root object. The august CTP insists that I define a key property in my base Entity. I did that and then when I tried to make one of the per ...Show All
Windows Forms Looping problem in capturing image using webcam
Hi, I've application to capture video of image and grab the still image. It runs well until I put loop to regrab the still images many times automatically. It gives one exception error: NullReferenceException was unhandled a ” Object reference not set to an instance of an object". I found that, this error come out because of calling file from outside of the main code of the programming. These are the code that calling file from the outside of the main body of code programming. //// apply filter subtract===>>>> call file from out bin folder <<<<===== System.Drawing. Bitmap subtract = filter1.Apply(image2); . . . // =====>>> call file ScanFirs ...Show All
.NET Development How to retrive, view and manipulate tables etc using SQL Server?
Hi Does anyone know how to open sql server connections and retrieve data from the database and put the info onto a VB created form. I'm currently using MS Visual Studio 2005 and SQL Server 2000 Enterprise I'v created the databases and tables in created whatever relationships i needed, but now i'm stuck on how to code it in VB to actually open the connection and work with the data. Any help will be great, i'm sorta new to DB Programming so give me a break please Thanks Kr33 ...Show All
SQL Server Upgrade from 32-bit eval to 64-bit enterprise?
I have a 32-bit evaluation edition installed on my 64-bit server. I have purchased a license for 64-bit enterprise edition. Can I upgrade from the 32-bit eval edition to the 64-bit enterprise edition If I can - should I Is the better approach to install a new named instance of the 64-bit enterprise edition - the 32-bit eval edition is an unnamed instance. All guidance is appreciated. Thanks. You can't directly upgrade from 32-bit to 64-bit through setup. As long as the instance name is unique, it does not matter if you installl a default instance or a named instance Thanks, Peter Saddow ...Show All
Visual Studio How do I debug Windows Apps on a remote machine ?
Hi, I am trying to develop a web app that uses COM objects that only reside on a server where I cannot install VStudio. I have, however, installed .netFW 2.0 Beta and the remote debugging tools. Now I cannot find a way to tell VStudio to run the app on the remote machine when pressing F5. Is this by design The samples for remote debugging don't touch web apps, and the settings for web apps don't let me specify remote debugging. A little hint would be appreciated. Guenter i guess this is the right place to find out if the same process works for debugging windows service running on a remote machine A little help would be appreciated. Thanks, mark ...Show All
Software Development for Windows Vista loading a workflow instance after changing the workflow
Hello. I'm having problem loading a workflow instance after my state machine workflow has been changed. The runtime GetWorkflow return an error saying the index is out of bounds. What am I doing wrong I find it strange that it's done this way. Isn't the purpose of a workflow that it should be able to change wihtout having to write new code This way I still have to do lots of coding everytime I need to change the business flow. ...Show All
Smart Device Development Tracing Fatal Application Error
Hi, I'm working on Windows CE 5.0 and i have a "C++" process. This process when it is compiled in Debug mode launch : Fatal Application Error Exception : 0xC0000005 Adress: 03FD5A74 When i compiled id in Release mode, this error is not launched but the main loop of my apps doesn't catch any message. I think that the error are just ignored. How can i find what is the problem what is the adress in the error Thanks for your answers. Thibaud. Ok, thanks for your answer, i'm trying to find if i used not initialized value in my code. Do you think that is the reason of a moving bug. Because my bug not appears at the same moment if I'm in debug or release. The bug appears sooner ...Show All
Visual Basic Sharing Functions Between Applicaitons.
I have 2 applications, I need to use functions in the 1st app, in my 2nd app. What's the best/easiest way to do this I've imported a DLL or Exe file into an app before and was able to use it then. Is this the prefered way The 1st app will be changing constently. Thanks in advance. jb Just to clarify. You simply need to create a class libary. The methods may be shared methods within a class, or you could add a module and simply place your methods in the module ( a module is simply a simple way of saying that all methods contained would be shared without having to specifically state it) The add a reference to the Class Library DLL in your projects. You dont need to specify an imports state ...Show All
Visual Studio Express Editions OTP: convert photo file to binary file
hi all.... is anyone know how can we convert the photo file to binary file..........this is because there is quite a number of photo files in my system, and i would like to convert it to binary file to reduce its size.....and also convert it back from binary file to photo file for display purpose ..... please kindly post here if anyone have an idea or solutions......thanks First of all, you're in the wrong place. This forum is for programming questions Second - a photo file IS a binary file. What else would it be If they are bmps, turn them to jpegs. If they are jpegs, nothing is going to make them smaller, except making the actual pictures smaller. If that doesn't help, you need to find so ...Show All
Microsoft ISV Community Center Forums common dialog not returning file names.
Hi everyone. i have a vb script that is imbeded in an html page (hta). when i use the common dialog flags = cdlOFNAllowMultiselect the file list is present in the filename object and are separated by a space. however when i use dialog flags = cdlOFNAllowMultiselect Or cdlOFNExplorer the files that i selected on the dialog box, are not present in the filename object. the only thing that's there, is the path to the files. here's the code: Const cdlOFNAllowMultiselect = 512 Const cdlOFNExplorer = 524288 Set ObjFSO = CreateObject("UserAccounts.CommonDialog") ObjFSO.Filter = "All Files|*.*" ObjFSO.FilterIndex = 1 ObjFSO.InitialDir = "c:\" ObjFSO.Flags = cdlOFNAllowMultiselect or cdlOFNE ...Show All
Visual Studio Express Editions How do I make the enter key handle a button click?
I have a form that has a combobox on it, if the user clicks a button after selecting from the combobox, another form will show. I would like to have the user select an item and be able to either click the button or just press the enter key on their keyboard. Thanks in advanced. thedewd wrote: In addition to Jan's suggestion, there's another way to do this. I did it on my form. Add a ComboBox.SelectedInexChanged event and give focus to the Button. With the button in Focus, hitting Enter will activate it. You can also click the button. Something like this: Private Sub MyComboBox_SelectedIndexChanged( ByVal sender As Object , ByVal e As System.EventArgs) Handles MyComboBox.SelectedIndexChanged Bu ...Show All
.NET Development Process performance counter is disabled
Hi I want to run a simple program which will just stop a process. I am trying to use GetProcessByName but this comes up with " Process performance counter is disabled" I have seen a previous question which suggested a mod to the registry, but the particular entry mentioned did not exist, so it must be something else I feel. Does anyone have any bright ideas (I am running W2kprof, and I have admin rights) Check out this article... ...Show All
