wanderingbob's Q&A profile
Visual Basic converted vb 6.0 data environment
hi, unless i missed something, i couldn't view my converted data environment in design view like in vb 6. any info on this IDataEnvironment and DataEnvironment are two different things right hmmm, tried looking up in namespaces but couldn't add an IDataEnvironment from system.design.dll. thanks in advance. dave patricio This is correct. While you can use the DataEnvironment in Visual Basic.NET and 2005 there is no designer support and some of the other features may not function as you expect. I would see the following for more information: Data Changes in Visual Basic .NET What's New in Data in Visual Basic 2005 ...Show All
Visual Studio Express Editions Does Express support the EnvDTE COM interfaces
Using Professional Edition of Visual Studio 8 I use the following interfaces: EnvDTE80::DTE2 EnvDTE::Window EnvDTE::_Solution EnvDTE::Project EnvDTE::Properties EnvDTE::Debugger EnvDTE::Events EnvDTE::_DTEEvents EnvDTE::Breakpoints EnvDTE::Documents EnvDTE::Document Accessed via VisualStudio.DTE.8.0 and imported thru: // EnvDTE #import "libid:80cc9f66-e7d8-4ddd-85b6-d9e6cd0e93e2" version("8.0") lcid("0") raw_interfaces_only // EnvDTE80 #import "libid:1A31287A-4D7D-413e-8E32-3B374931BD89" version("8.0") lcid("0") raw_interfaces_only Are these available with the Express Edition Thanx In a Webcast about Visual Studio extensibilit ...Show All
Visual C# How to check assignment of Event Handler
Hi All, I have following line in my C# code : bkmkRow . Selected += new WordTools . SelectionEventHandler ( this . STTable_Row_BookmarkSelected); where bkmkRow is the Bookmark object of Word class (in VSTO). Now before assignment of "SelectionEventHandler" to "Selected" event, how can I check that any event handler has been assigned or not Any help Thanks in advance....... joeycalisay wrote: i think you can only check from within the bkmkrow class Yes That is obvious but I think there is also a way to check form the other side. YOu can also use your own logic to attain this. Think again ;-) ...Show All
Windows Forms Manually invoke a timer time-up event???
I have a timer that I'm using in my winforms application. I was wondering is there a way to manually invoke the timer time-up event by not actually waiting for the timer to expire I need to have the timer up event code executed in my application at one point. private : System::Void timeup(System::Object^ sender, System::EventArgs^ e) { } Is there a way Thanks!! Yeah, thats how I worked around this problem. Moved the timer-up code to a separate method and i'm just calling that method when required. ...Show All
Smart Device Development sms in the inbox
does any way to get sms in the inbox crino I have watched the mapi. It can send and receive sms. But I want to read the sms, which stored in the inbox. How to do it Thank you ...Show All
SQL Server SqlBackUp() vs Volume Shadow Copy Service
Does the SMO SqlBackup() internally use the Windows Volume Shadow Copy Service or are the two different If they are not connected, which one is advisable for use in programming a backup application The SQLBackUp method performs a SQL Server backup of an active database to a file. Combined with transaction log backups these files allow you to restore your database to any given point in time, should the need arise. You might be well served at this point to take advantage of the E-Learning classes on SQL Server Administration Microsoft has made available (they should be still available for free - I thought the deadline was in November when they were going to start charging for them). Either that or pick up ...Show All
Visual C++ bioskey() equivalent in VC++
Hi... Can anybody let me know, what is the bioskey(int cmd) quivalent in VC++. bioskey(int cmd) is the fuction in borland c++ in bios.h fine. Thanks, Thanks for reply. I think _getch() may replace bioskey(). But one another problem I have is MK_FP. Basically I am converting 16bit borland code into 32bit VC++ 5.0 code , console base at this moment. One statement I have is: SDLC_F_LoopController lc1( (char *)MK_FP( dp_addr, 0 ), dp_size ); But it is giving error 'MK_FP' undeclare identifier. Then I tried following but it is giving runtime error. SDLC_F_LoopController lc1( (char *)( dp_addr, 0 ), dp_size ); //just removed MK_FP Is there anyway in VC++ 5.0 to achive the same thin ...Show All
Visual C# Windows Service - Computer shutdown
Hi, Does anyone has an example of windows service, to run everytime that the computer shutdown and startup And is it possible to install via command line, how can I make it Thanks you can setup your service to run automatic in order to get it run when system is started. Thus first requirement is fullfiled. About executing something on system shutdown you can handle Microsoft.Win32. SystemEvents .SessionEnding event and there is command line tool that install .NET windows services called installUtil . (see here too http://www.codeproject.com/dotnet/ScriptedServiceInstall.asp ) Hope it helps ...Show All
Windows Forms access application settings from code
Hi , i stored my connection in application settings i.e. project > properties> settings tab. Now i need to access the connection string from code any help is appreciated, red Hi,red60man Assume you have a variable named "MyConn" in the settings, then access it in code by: Properties. Settings .Default.myConn; For more information, see This . Hope it helps. Best Regards. Ye ...Show All
Windows Forms what is an resx file what is the use of it how to use it
what is an resx file how to use it A resx file is a resource file. This msdn magazine article shows how to use them. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Reflection - Assembly.Load generates error
I seem to be experiencing some trouble with Reflection, specifically I am trying to load an assembly and call foo.EntryPoint.Invoke on it, but when I call Assembly.Load, I get: System.BadImageFormatException was unhandled Message="Could not load file or assembly '90112 bytes loaded from TestReflection, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format." Source="mscorlib" FileName="90112 bytes loaded from TestReflection, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" FusionLog="" StackTrace: at System.Reflection.Assembly.nLoadImage(Byte[] rawAssembly, Byte[] rawSymbolStore, Evidence evidence, StackCrawlM ...Show All
Windows Forms PropertyGrid description pane size
Hello, is there a way to change a size of PropertyGrid's description pane If I need to fit large amount of text in there, can I add a scroll bar to it Or just make it bigger Thank you. propertyGrid1.Size = new System.Drawing.Size(400, 300); if you want more information,see it ...Show All
Commerce Server BatchComplete Failure
Hi, I have a biztalk orchestration that receives commerce server orders via an order adapter. I have configured a receive adapter and connected it to a commerce server catalog adapter. I have also tried to subscribe a send file port on the response and I still get this failure. I have ports configured to accept the response yet I continue to get this error, can someone please tell me how to further troubleshoot this issue Thanks. "The Messaging Engine received an error from transport adapter "Commerce Server Orders" when notifying the adapter with the BatchComplete event. Reason "Object reference not set to an instance of an object."." If I export the bindings here is what I get, Ive removed the sch ...Show All
SQL Server Report Model with XML datasource
Is there a way to create a Report Model with XML / WebService as datasource I am able to generate reports that connect to a WebService through Report Designer, but unable to find similar functionality in Model Designer . JDee, Here's a link for setting the Report Service XML datasource. I hope this works for you. http://msdn2.microsoft.com/en-us/library/ms345334.aspx Ham ...Show All
.NET Development Video Streaming with Asp.net
Hi Gurus, I need to embed Video in my asp.net application. I have done that and it is working fine but the issue is when Windows Media Player open for playing video it first download the whole video and then plays it. But I want to play it with Buffering how could I do that need ideas or any articles from you guys. cheers I hope this link helps you http://steveorr.net/articles/StreamingMedia.aspx regards, Ramkumar ...Show All
