Amnesiasoft's Q&A profile
.NET Development Configuration problem
I’m having the following problem: I’m writing a COM control in C# for the MMC page provider. My C# COM control uses some other .NET controls. The problem is that the C# COM control can not find my other .NET controls because they are not placed in the system32 directory or in the gac (I don’t want to place them in system32 directory or the gac). I debugged the code and noticed that the configuration file mmc.exe is using is mmc.exe.conf ...Show All
.NET Development SMTPClient MessagePreview
I'm converting an app from a Win32 Pascal to .NET 2.0 c# The old program used MAPI Calls, etc to login and send emails I am able to convert the mail send functionality fine, but is there a .NET equivalent to the MAPI_DIALOG flag to preview the email before it actually sends Thanks, David Short answer NO Long answer Yes - sort of. Send it to the local smtp server and it will put it in the drop folder You can open the eml with outloo ...Show All
Visual Studio Express Editions VSContentInstaller.exe - Bad Inmage
After reinstalling XP Pro and then installing VS 2005 Standard, I decided to try a starter kit. I downloaded the Amazon Movie one and clicked on the file and got this Alert message: _____________________________________________________________________ .NET-BroadcastEventWindow.2.0.0.0.33c0d9d.0: VSContentInstaller.exe - Bad Inmage The application or DLL C : Documents and Settings\Dilbert\Desktop\AmazonMovieCollection_1_0_vb_rtm.vsi is n ...Show All
.NET Development Newbie question - deployment project
Hi, I'm not sure if this is the right forum to post this question. I'm using VB .NET to create a deployment project. I want the project to request the user to enter a product ID. I then want to use this product ID elsewhere in my program. My question is where would this program ID be stored How would i be able to obtain this number after the user enters it during the installation I can't find the number in the reg ...Show All
Visual C++ STDMETHODIMP
I am trying to compile some VC++ 6.0 code on VC++2005, and I get the following error: error C4430: missing type specifier - int assumed. Note: C++ does not support default-int The line of code is simple: STDMETHODIMP Func(WORD Index); Knowing that STDMETHODIMP boils down to " LONG __stdcall ", what's the problem here The same compiler error is generated for STDMETHOD. Any clue Thanks, Mo ...Show All
Visual Studio Express Editions A Problem with Relative Paths
I've been using Visual C++ 2005 Express without problems for a day, but now I'm suddenly having problems with relative paths. Instead of a path resolving to one relative to the project file, it's always resolving relative to 'Visual C++ 2005 Express\Common7\IDE'. I've tried uninstalling and reinstalling, and looking through settings, but to no avail. Any help would be greatly appreciated. AFAIK ...Show All
Visual Basic WebBrowser Control
I am having a problem with Microsoft Visual Studio 2005 (Version 8.0.50727.42 ) and .Net Version 2.0.50727) using the WebBrowser control. I get same error when using either the RSSReader sample or the MSDN SimpleBrowser sample. The error is that I cannot navigate to any URL - there appears to be an error in connecting to an ActiveX control on my PC .... WebBrowser1.Document.Domain contains the error text - {"Error HRESULT E_FAIL ha ...Show All
Visual Studio Team System recommended scripting tools
I am looking at scripting tools to standardize on for future build environments and utilities. I see 2 options that should work well, however I would like to know what the TFS team would recommend. The 2 candidates are Iron Python and Monad. Both support .NET naitively Iron Python is clearly the more robust of the 2 but Monad seems to be where MS is putting the focus. What do teams plan to use internally or what will the TFS team recommen ...Show All
Visual C# Process & WaitForExit & OutputDataReceived
. Rob, This is from a larger project so I've tried to cut and paste the relevant bits. This took ages of trial and error to get working. Hope you can make sense of it. Cheers Steve The process is started from a class that also has a Windows form (to show progress). The sendclip method starts the commandline process which returns as soon as the process is started - as then events take over.&nbs ...Show All
SQL Server Disable SSIS Studio validations?
Is there any way to disable the validations within the package upon startup of the SSIS studio We have a few really large packages that can take almost an hour to validate, since the packages could be pointed to different environments (depending on each developer). The alternative (which could get messy) is to alter the *.dtsx file to point the connections to the correct DB before starting them up in studio. Any ideas ...Show All
.NET Development ADO driver for oracle generates weird sql statements! Why and how to fix?
Hi, We use ADO with our self developed software for connecting to an oracle 9.2.0.7 database. There appear some weird sql statements that generates high performance problems, but this statements are not generated within our software. When we use another method connecting to the database e.g the BDE the statements do not occure anymore. The clients use XP SP2 with the latest mdac drivers and oracle 9.2.0.7 client. This ...Show All
Visual C# Generic Collections with Events?
Hi, I am trying to make a tabbed control of my own. It's for a text editor and since the default one doesn't have the close button or a nice litle overflow menu like mine does now, I needed to make my own. I have an implementation now, but I am not very happy with it. What I would love to be able to do is have something like the default TabbedControl, where you can do mTabControl.TabPages.Add(key, tabpage); I am trying to use Generics so I d ...Show All
Visual Studio Express Editions Random Numbers again!!!
Hi there, i think i have gotten into a bit of a fix... here is the problem: i have used the random obj to generate random numbers between 1 to 90. some times when the application runs, it picks a number twice. for example an output would be 2,8,34,2,67.... is it possible to make sure all numbers picked are only selected once that is if i request for 10 ranadom numbers, each 10 digits would be unique... this is driving me nutts!! ...Show All
Visual Studio Team System Error 32000 During Installation of TFS Beta 2
I've done some searching but can't find a resolution for this issue yet. I've tried uninstalling ADAM, rebooting, and restarting the install. No go. During the installation of TFS, I get the following error: "Error 32000. The commandline "(temp)\getadminport.exe /vstf" returned non-zero value: 1" where "temp" is my local user's temp folder. When I run getadminport.exe thru the command line myself, I see this: Setting NTAuthenticationProvider ...Show All
Visual Studio Team System Object reference not set to an instance of an object
Greetings, I created a Solution containing two SQL Server 2000 Projects. I imported a schema into each project (both from SQLServer 2000) and corrected some errors. I saved my files and closed the solution. When I reopen the solution I get the error "Object reference not set to an instance of an object." for each project and now neither of my projects is available either from the solution or by opening the project files indiv ...Show All
