EmNat's Q&A profile
Visual C++ Attributed ATL - bad codegen in debug mode - any known issues?
I'm seeing a really nasty issue with some attributed ATL code. What I have is a class along the lines of class __declspec(novtable) MyComObject : public IMyInterface , public IPersistPropertyBag , public IObjectWithSiteImpl<MyComObject> /* injected base class */ { ... ... STDMETHOD(SetSite)(IUnknown* p) { IObjectWithSiteImpl::SetSite(p); // bad codegen here While all other members or base references are just fine, there is an additional ...Show All
Windows Forms Raising a (keyboard) event programatically
I'd like to be able to raise a keyboard event from within my code. That is, when a user presses 'a' in a textbox, it triggers a series of events (KeyDown, KeyPress etc) and I'd like to be able to do the same thing from my code. It seems like a pretty common thing to do and I thought I'd found the right function when I found the Control.RaiseKeyEvent() function. Unfortunately, not only can I not get it to work, but there doesn't seem to ...Show All
Visual Basic VS2.NET 2005 - Release / Debug Mode unavailable
Hello, I don't have any options which allow me to change from Debug to Release mode or visa-versa in the IDE for a VB.NET project!!!! Right-Clicking on the Solution Explorer followed by Properties and then Selecting the Compile Tab does not show the Configuration or Platform drop downs. The first prompt is "Build output path". One of my co-workers has the same version installed and it shows up on their end. I just tried re-installing VS.N ...Show All
SQL Server Is SSIS slower than DTS????!!!!!!
I am new to SSIS and probably doing some mistake while transferring data from oracle source to oracle destination. Please guide me.. In our project we need to transfer nearly 80 GB data from old system (Oracle 9i) to new system (Oracle 10 G Release 2). To do this exercise we are testing and comparing performance and cost effectiveness between different tools like SSIS, DTS and SQL * Loader (oracle built in tool). ...Show All
Visual Basic getting HTML from a website
Hi guys, I'm making a project that requires getting the HTML source from a website. I'm not at all sure about how to go about doing this. Any help would be greatly appreciated! Thank you so much in advance! -Robert Robert.... There are women here too. The other two identical questions you asked are in VBE and you marked your question as answered here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=414318&SiteID=1 ...Show All
Smart Device Development from pda to oracle DB
i'm passing data from hp PDA that using microsoft application to oracle DB. what supposed script/codes that i can use to solve that. Are you using any database on your PDA What kind of data you need to pass Typically you develop mobile app with SQL Server and use SQL Server's synchronization features to sync mobile database with your server db. Oracle's mobile dB is Oracle 10g Lite with sync capabilities with server dB. You may want ...Show All
Visual C++ how to Call .NET dll in C ?
how to Call .NET dll in C Don't you mean call a .NET dll in C++ In this case, convert your program into a C++/CLI application. Then you'll be able to use the .NET dll. ...Show All
Windows Forms Easily disable tabs in TabControl
ie. tabControl.TabPages[1].Enabled = false; Easily done like this: private void tabControl1_SelectedIndexChanged(object sender, System.EventArgs e) { switch ((sender as TabControl).SelectedIndex) { case 0: { if (((sender ...Show All
.NET Development Fix: Confirmed "BUG" in VS2005 - Microsoft Access, SourceSafe (Operation must use an updateable query.)
Hi ! Just wanted to let you all know about a problem I strugled with for some time before I found the solution. To recreate the problem do this: 1) Create a windows form project that uses a access database as its data storage. 2) Add the project to the sourcesafe (note that the database will be added aswell) 3) Now try run the project in debug mode and you will receive the error when you try to update/add any data to the database "Operation must ...Show All
Windows Forms Using Provider Pattern with Table Adapters
The table adapters that come with Data Sources are good but they are hard coded to use a specific provider. I am looking for a way to use the provider pattern (like DotNetNuke) to allow the Data Access layer to be extracted into a separate layer with multiple provider modules that can be selected in the config file. The VS Wizards have in the past encouraged bad development habits by dumping business logic and data access into the p ...Show All
.NET Development 64 Bit Local Debugger on Whidbey FINAL
Will the local debugger on VS.NET 2005 FINAL RELEASE be able to debug 64 Bit apps Remote debugger sucks a little bit. Thx in advance Martin Jochen -- You are actually still using the remote debugging infrastructure under the hood even though you are remote debugging to the same machine. This is because VS is a 32-bit application in Whidbey. However, as you have noted, they do a good job of hiding it and in my debugging using V ...Show All
Smart Device Development PInvoce and DesktopCompatible(true) not working
Hi Have a question. My own Lable class shows the classname at design time and not the text I give it in the property editor. At runtime all seems to be just fine. I woul be super hapy if some one could tell me what is wrong. here is the class definition: public partial class LabelLTT : Label , ITranslatable { private int _intLTTTranslationCode; private string _strLanguage; public LabelLTT() { InitializeCompon ...Show All
.NET Development cant not save data to my Sql database
MyTable; Table Name: Words WordsID int PK(1,1) , Word nvarchar (10),Threes nvarchar (1000) Allow Nulls,Fours nvarchar (1000) Allow Nulls,Fives nvarchar (1000) Allow Nulls,Sixes nvarchar (1000) Allow Nulls,Sevens nvarchar (1000) Allow Nulls My Proceedure; ALTER PROCEDURE addWord @Word nvarchar (10),@Threes nvarchar (1000),@Fours nvarchar (1000),@Fives nvarchar (1000),@Sixes nvarchar (1000),@Sevens nvarchar (1000) AS ...Show All
Windows Forms No source code found exception
Hello, I have been trying to use a same VB.NET project on multiple machines, I am currently accessing the project and all the DLL files from the G drive, the DLL files (after VB6-VB.NET migration) currently reside on the Project/obj directory. On co ...Show All
Visual Studio Team System Task "Currituck.WIs" failed
Hi all, I'm still in trouble while creating the new team project. I have Created several New team project. All are giving same error while creating the new team project. When i go to the team project site it gives the following error. Error : The Web site that is referenced here is not in the configuration database. When i open the Report server in ...Show All
