MaxOrion's Q&A profile
Visual Basic change published project dir
hi, after finishing my project i would like to publish it so i can burn it to a cd and if a computer doesnt have .net framework 2.0 it will install it before running my project. I know how to do this and can publish it with all the right files through the publish wizard. The problem is when i publish it, the running directory is a temporary one which i found out with the help of a couple of people and the application.startuppath command, and the shell commands in my project dont link properly because you have to put the .exes in the running directory. If i copy the \bin\release files to a cd including all .exe files (for shell commands) it w ...Show All
Visual Studio Express Editions Extracting and installing of IMG-Files
Hello! I want to know if it is possible to extract the IMG-Files with IsoBuster and than to copy all the files on a DVD I only ask because i can extract the image files and install it from the hdd but i don't know if i can copy the files on the DVD in the folder for example VisualCSharp and install it from there. Another question: I read in the web that visual C++ don't have an IDE. You have to install the IDE separatly. Is that right or does only have the beta the IDE separate Please help me! I don't know about the DVD question, although I imagine it can be done. Might as well try it. As for C++ and I ...Show All
Windows Forms Global Right Mouse Click at Design Time
Is it possible capture the right mouse click popup and add items to it I saw the DesignerVerb, but that's only for that particular control. Basically, if it's possible, I'd like to capture anytime a System.Windows.Forms.Control is clicked on. Is that possible Add-in :~ Ok, so the magic answer to this ended up being, usin ...Show All
Visual Studio problem debugging a com interop assembly, excel doesn't return any values
Hi, I have a problem debugging a class library assembly with com interop through another application, specifically MS Excel. I recently downloaded an example on building a com interop assembly in visual basic. I finally got vb to build the assembly but now excel doesn't seem to recognize it or something, as i only get the error #N/A in excel. In the debugging mode i never get anything back from excel, so i think my problem is right there, but i can't figure out how to correct this. btw I'm still a newbie at this so please bear with me on the explanation :) And any help would be appreciated. my example is here: http://msdn.microsoft.com/libr ...Show All
Visual Basic manifest errors on application install.
ok i made a program and i was ready to start testing it on other computers. when i try to install it after i publish it i get this error failure: PLATFORM VERSION INFO Windows : 5.0.2195.262144 (Win32NT) Common Language Runtime : 2.0.50215.44 System.Deployment.dll : 2.0.50215.44 (beta2.050215-4400) mscorwks.dll : 2.0.50215.44 (beta2.050215-4400) dfdll.dll : 8.0.50215.44 (beta2.050215-4400) dfshim.dll : 2.0.50215.44 (beta2.050215-4400) SOURCES Deployment url : file://powervac/ivsprogs/SerialNumb ...Show All
SQL Server Connecting Sql Server 2005 from ASP?
Hi We are planning to move over to SQL Server 2005 in near future. At the moment Website is on a seperate server then the Database. OS for both the server is Window 2003 and currently our data is on SQL Server 2000(on which everything works fine). Part of the testing process we tried to connect our website on SQL 2005 and it does not work at all. I get this ---------------------------------------------------------------- ADODB.Connection error '800a0e7a' Provider cannot be found. It may not be properly installed. When i use following connection string "Provider=SQLNCLI;Server=127.0.0.1;Database=dbName;UID=UserName;PWD=Us ...Show All
Visual Studio Team System Manual unit tests
I have some unit tests that need user interaction to verify that the correct results happen (e.g. for testing plug and play events). These unit tests are obviously not suitable to be run automatically by a build machine. I thought the manual unit tests might be appropriate to address this but they appear to be little more than a document with no actual code that runs. What is the recommended way of marking such a unit test so that it is not run by default but only when someone explicitly wants to run the "manual" tests Thanks Andrew Hi Andrew, Check into "Generic Tests".& ...Show All
Visual Studio Express Editions Set pixel of a window
I'm trying to learn basic C++ so that I can make DLLs for use in another programming language. I've had some success, but got completley stuck when trying to set a pixel on a window. I thought this would be a very easy task, so maybe I'm missing something basic. Anyway, here's the entirety of the code I'm trying: (the window and hDC are already prepaired by the other language) #define STRICT #include <windows.h> #include <stdio.h> #include <wingdi.h> __declspec ( dllexport ) void WINAPI Dotty(HDC hDC){ ::SetPixelV(hDC, 100, 100, RGB(255,0,0)); } when I build it I get the message: 1>Test ...Show All
SQL Server Report Services Question
Hi all, I wanted to be able to log on to Report Services from another computer (remotely), how can I go about doing that setup from either fresh installation or after installation Or can anyone guide me to on where am I suppose to post this question in Any help from anyone is appreciated. Thanks in advance. Daren No I still cannot connect to the remote computer with WinMSD.exe, it still gives me the access denied error. Daren ...Show All
Visual Basic How to used code vb.net which shutdown the computer in the LAN???
I doing programing shutdown computers in the LAN. But i don't understand by used code vb.net which write. Please, help me! Thank's!!! ...Show All
Windows Forms DataGridView Image Columns
I have been pulling my hair out on this one and decided it was time to post it here after Googling for countless hours without finding an answer to my problem. I have a simple databound datagridview that I am trying to display an image on a cell by cell basis based on the cell value (stop, started, finished) etc.. The values are int values and so far I have been able to get it to work but I have noticed lots of flickering while using the grid and lots of mismatched images being displayed for the underlying cell value. Any help would be much appreciated... private void dataGridView1_CellFormatting( object sender, DataGridViewCellFo ...Show All
Visual Studio 2008 (Pre-release) Passing parameters to ObjectDataProvider
Hi, Any ideas on how to pass parameters to ObjectDataProvider Thanks Andy Hi, I have figured this out from http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnlong/html/introdecctp.asp However, <x:string></x:string> is failing when I try to build. System has a mapping. Andy ...Show All
Smart Device Development Aligning the Text on a Button Control (cf 2.0)
Hi all, is this at all possible Or do I have to created a Custom Control Thanks Tryst See if the example at the link below helps. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=366029&SiteID=1 ...Show All
SQL Server Create 1 connection to execute multiple Packages
I want to create 1 connection because I have to execute multiple packages (2005). But when I go into the execute package task editor, the dropdown only ever has "New Connection". Is this a bug "Why can't the EXECUTE PACKAGE task just use one of the connections available in the "connections managers" collection " It can, If all your execute package tasks are in the same package, yes, they can all use the same connection manager. Is this not working for you Whew, thats all i need, maybe its a bug - using June CTP. I create a new execute package task and then create a new connection for it. Then I c ...Show All
Visual Studio How do I debug code in design mode (i.e. running under the IDE) using VS2005 RTM?
I have a problem using the new RTM version of Visual Studio 2005. I write a lot of custom components and a lot of the functionality I provide is available at design time, which I need to test and debug. In previous versions of Visual Studio I would just boot up a second VS instance for the same project and attach it to the first to debug, but that does not work in VS 2005 RTM. If I try attaching a second version of the project (DEVENV.EXE) to the first nothing happens, i.e. none of my breakpoints will be hit. However I have noticed that there is a {appname}.vshost.exe process running, but when I attempt to connect to that instea ...Show All
