Vladimir Gaitanov's Q&A profile
Visual Studio 2008 (Pre-release) How was Microsoft MAX look acheived in XAML
Does anyone know how the Microsoft MAX look was acheived using XAML The top portion of the screen is very "Ribbon" like, where the tabs are actually in the window titlebar. Is there any samples available Thanks, Joe Well according to this blog article Max isn't completely written using WPF. It implies that there is quite alot of unmanaged code used to get that look and feel. ...Show All
Visual Basic DefaultLocation
I have developed a COM Add-in for the Office Suite. Since COM Add-in's wont use the app.config file I am storing app settings in settings.txt file which I have hard coded the path to in the application. My question is this. If during installation the user installs the application to somewhere other than the 'DefaultLocation' my app will fail on reading the settings.txt file, is there a variable I can use instead of hard coding the path that wil ...Show All
Windows Forms cm.Position won't leave Zero
Ok, I'm sure this sounds stupid. Any help as to where I should look would be great. I have a database navigation device that should easily choose the new position of my datatable. Here is the snippet: Dim cmMembers As CurrencyManager = ...Show All
SQL Server Internal Query Processor Error
have a few report have the following error when i point the db to the test server. but it was running fine when i point the db to the live server in the same machine. in fact, the live server are having much more records then the test server, but wondering how come the live server do not hit such error, is it due to the SQL server version different appreciate any1 can help. thanks SQL server version in both server In live server the the SQL vers ...Show All
Visual Studio Express Editions Working with VS6 dlls?
Hi everyone, Let me first say that I'm a relative novice using VC++. I was given a project to write the UI for a piece of software using C++. So I've been writing a Windows application using Visual Studio Express C++. Today, I was given a dll file from another team, but I found out that they've been using VS 6.0. The sample program they gave me doesn't seem to compile (There are 30odd compile errors..). Now I don't know quite what to do. Is ther ...Show All
Windows Forms Error: Key not valid for use in the specific state.
I hope I am in the right forum for this problem: I am trying to add a "DataGridView" component to my form. Under DataGridView Tasks, I go to 'Choose Data Souce' and then I go to Add Project Data Source and then choose Database and click Next. The window changes (as though it is going to let me enter in some more information), but then an error message appears that says: An unexpected erro ...Show All
Windows Forms Windows XP look
What is the option to turn on so that controls on a winform show up with the Windows XP look You know, buttons, tabpages, etc thanks, joe For .NET Framework 1.1 it is: Application.EnableVisualStyles(); Application.DoEvents(); (The Application.DoEvents() methods is a cautionary measure which protects againt memory leaks and unexpected exceptions - details at http://www.codeproject.com/ ...Show All
Visual Basic Webbrowser Control - Handling pop-ups
Hello there everyone. I've been dabbling with the WebBrowser control in VB6 and I am trying to control the popups. Below is the code that handles the NewWindow2 event (the event that is triggered before a new window is opened via javascript or other means): Private Sub WebBrowser1_NewWindow2(ppDisp As Object, Cancel As Boolean) Dim Window1 As New CESSubWindower Window1.WebBrowser1.Registe ...Show All
SQL Server Query filtering problem
I do not want results with combinations like this: d.workphone is null and m.workphone = '0' m.workphone is null and d.workphone = '0' but my query below still brining in records like this, how can I fix this: select m.number, m.workphone as master_workphone, d.workphone as debtor_workphone FROM master m INNER JOIN debtors d ON d.number = m.number where (d.workphone <> m.workphone) AND NOT (d.workphone = '' AND m.workphone = ' ...Show All
Visual Studio Team System Can't find some VSS features in new source control system
In good old VSS I could select the folder and hit "File/Project" difference button to see the difference between my local copy and files in VSS for all files in this folder (and possibly all subfolders) I also could use "Status Search" to find all checked out files or the files checked out by the particular user. How would I achieve the same result in the new source control system There is no built-in UI ...Show All
SQL Server Windows Authentication
When I create reports using a data source that uses Windows Integrated Security and that connects to a database that does not reside on the Reporting Services server I'm getting the following error: An error has occurred during report processing. Cannot create a connection to data source '<data source name>'. For more information about this error navigate to the report server on the local server machine, or enable remote errors If ...Show All
Visual Basic Can some one give me a explanation, if possible how to implemant in vb.net. need help
Following is the VC++ source code uCrc = (unsigned short) (m_CRCTable[((uCrc >> 8) & 255) ^ (*pData)] ^ (uCrc << 8)); Can some one give me a explanation, if possible how to implemant in vb.net. need help Pls help me. my job is on the air, binary interpretation doubts vc++ Sample data: *pData=27 // CRC-16 checksum unsigned short CRCChecksum (unsigned char *pData, unsigned short uSize) { unsigned short u ...Show All
Visual C# Getting a COM dll's version from it's COM registry entries
We currently have some code that goes like this: object savePath = null ; // get smartconnect type from prog id of COM component SmartConnect.dll Type smartConnectType = Type . GetTypeFromProgID ( "SmartConnect.CSmartConnect" ); // create instance of smartconnect Object smartConnectObject = Activator . CreateInstance ( smartConnectType ); // get the save path savePath = smartConne ...Show All
SQL Server import data
can not import data into sql server 2005. I read that data import wizard comes on the right click on the database but i dont see any such option. http://www.mytravelphotos.budpix.net/rajesh_chd/a13/00000001 I have uploaded image to above link. Thanks Rajesh Hi there, I believe that the functionality you are looking for (the Data Import/Export Wizard) is not an included feature in Express Edition. I think the following post m ...Show All
Windows Forms TextBox, decimal field and null values
Hi all, As the username suggests, am new to all this- so appologies for what seems to be a silly question... Working on a small application on VS 2005, I've noticed that when binding a textbox to a table ('price') column of decimal value that accepts null values, whenever I erase the contents of the textbox, it gets 'locked' till I fill it back with a numerical value. In the "price" column's properties in the TableDataSet ...Show All
