W. Jansoone's Q&A profile
SQL Server SMO Connection String conversion
Hi, I am using SMO in my application to retrieve data from SQL Server in order to display it in the UI (such as DB list, tables list, etc.). Eventually the user has a connection definition screen, in which he inserts his data. The thing is that in the background my application needs to use this data to connect via OLE DB. Is there a way to convert the connection string generated by SMO to an OLE DB connection string Thanks. ...Show All
Windows Forms Add button control inside DataGridView
1) I would like to show my table in the DataGridView and allow the user to edit some of the fields which are integer type. I need to put two buttons next to the value. One of them is to add 1 to the value while the other one will minus 1. It's idea to put the add button on top of the minus one. However, I can't find any good reference on how to do this. Please advise. 2) Moreover, how can I control the button behaviour I've tried adding the D ...Show All
Smart Device Development Smart Device Deployment Error
Hi, I have built a windows mobile 5.0 PC smart device database application in VB. When deployed onto the device, it runs well until an event is called to perform some calculations which gives the error - InvalidCastException, Conversion from "" to type 'Integer' is not valid. This event is however executed when the application is tested on the emulator without error. Please help me identify and correct ths problem. ...Show All
SQL Server Where are the Graphs saved from Data Mining model viewer
Hi, all here, I tried to find the graphs I saved from Data Mining Model Viewer, but where is it saved As we see from the mining model viewer we could save the graphs there by clicking the 'save graph' button, but where is the graph Really need help for that. Thank you very much in advance for any guidance and help for that. With best regards, Yours sincerely, Hi, Jemie, That's a really excited news. Thanks a lot f ...Show All
Visual Studio Team System Graphical representation of branch/merge history
Hi everyone, I don't have Beta2 installed yet and I couldn't find the information in blogs or other forums so I'm asking the question here: Is there any graphical representation of the file history as well as branch and merge visualization in VSTS source control similar to other source control such as cvs Thanks, for your help. Unfortunately, we won't have a GUI tool for this as part of the version 1 release. We do hav ...Show All
Visual C++ aspell compilation problems
Hi, I tried to post on the forum but it kept coming up with an internal error so i was wondering if you could help me with the following:I have recently been trying to compile aspell (a spell checker written in c and c++) in visual studio .NET (2003) which has taken forever but i managed to get it to compile a dll now. When i come to add this dll file into another project which will be using the methods from this dll it keeps giving ...Show All
Game Technologies: DirectX, XNA, XACT, etc. how to create an 8 bit raw file?
Hi every one. Does anyone know how to create an 8 bit raw file from a bitmap The idea is to generate landscapes from those raw files and also to automatically generate the raw and then create the terrain. Thanks in advance. Cubaconn Instead of completely RAW format, I'd advise using the PGM format (or PPM if you need RGB rather than just an 8 bit value). You can find details of the PGM format at: http://www ...Show All
SQL Server Do you regularly reboot your server?
I would like to know if you reboot your SQL Server on a regular basis and why... I do not regularly reboot our SQL Servers. They do get reboots when patches adn service packs are applied, but past that, I have found no need to reboot the servers. ...Show All
Architecture Windows Installer
Probabily this is wrong section, but i don't know how post it. I'm making a project installer project with windows installer 3.1. I'd like, at the end of installation, that the installer execute my application. Some one know how How exactly are you creating your installer With WiX Sadly I do not know much about creating installers other than what InstallShield Express provides (WiX is on the list to learn, it just hasn’t be ...Show All
Visual C++ printf backspace
whatz the equivalent of printf("%3d\b\b\b"); in vs2005 thanks I presume you mean with C++/CLI because: printf("%3d\b\b\b"); Is still accepted by Visual C++ 2005. The escape character '\b' appears to work the same for managed code: #include <stdio.h> using namespace System; int main() { printf( "%3d\b\b\b" , 123); Console::Write( "{0}\b\b\b" , 456); Console::WriteLine( ...Show All
Windows Forms FileOk Event problem
My handler for the FileOk event of a dialogbox just won't work.My code for the handler goes like this : void saveFileDialog1_FileOk( Object^ sender, System::ComponentModel::CancelEventArgs^ e ) { label1->Text = "test" ; } label1 is a label on the form and i want to change its text property just to check if the handler works.The saveFileDialog control shows itself after a click on a menu button.And when i click ...Show All
Software Development for Windows Vista Problem passing parameters from workflow to custom activity using dynamicly compiled xoml workflow
We have created a Win Form app that programmatically builds a workflow. It contains one sequential workflow object, and has activities implemented in a separate DLL. The generated workflow definition is then serialized out to a xaml file. We then compile the xaml definition to an assembly, and executes the workflow using dharmas compiler sample. The workflow library is a class library wrapper for the runti ...Show All
Visual C# c# to vb.net
What is going on. When c# first came out M$ was pushing users to move to that. Now I see an article that show that you can now translate c# to vb.net. http://msdn.microsoft.com/vbasic/default.aspx pull=/msdnmag/issues/06/02/PasteAs/default.aspx why does it seem like vb.net is being pushed so much more in the 2005 version. I just decided to move to c# from vb.net because of the following. 1.forced declaration of varia ...Show All
.NET Development Problems loading executables on Media Center 2005
Hi, I'm running Media Center 2005, and when I try to run certain exes, I get a common language runtime error, preventing me from loading them. This is getting extremely frustrating. The errors are: ehshell.exe Process id=0xb10 (2832), Thread id-0xb20 (2848) WinSSUI.exe Process id=0xf30 (3888), Thread id=0xa18 (2584) SL4F.tmp Process id=0xdac (3500), Thread id=0xd48 (3400) Can anyone please help me with this It means I can't even run ...Show All
Visual C++ MCPP - 2005 , Any Good Books out yet ?
Hello: I am wondering if their are any good books/references/publications out on MCPP - 2005. Sometime ago on microsoft.vc... I had read that their wasn't much literature available. Any good pointers for programmers moving from VC 6.0 is appreciated. And this interface for discussion is far far better than the other newsgroup. Thank you. Check out http://msdn2.microsoft.com where there is specific doc ...Show All
