Olin's Q&A profile
Visual Studio Express Editions Progress database and VB
I'm totally new to everything, which has something to do with vb 2005 express edition coding, databases and so on.... but anyway I got myself interested in vb2005 express and I followed the video lessons. There I found some interesting things... databases for example, and how to access data from SQL Server. At work we have Progress databases. Now at last to my question: How can I get data out of our Progress databases, using vb2005 Or at least, where can I find some information of this matter Accessing a database typically requires a data access driver/provider of some sort. It ...Show All
Visual Basic VB.NET structure for VB6's integer AND key indexable Dictionary?
I'm on VB.NET 2005 so I have access to generics, but I seem to keep running into trouble when trying to "translate" the VB6 Dictionary to a .NET equivalent. It all began when translating VB6 "Dictionary" to the .NET: Dim Pairs As Hashtable That looked great, until I found out the code relied on the VB6 Dictionary being sorted by the item insertion order, as the indices are later matched against another table. The .NET Hashtable doesn't seem to guarantee such a sort order. So then I tried with this: Dim Pairs As List(Of KeyValuePair(String, String)) Great, now I had my key/value pairs in a list that should clearly be in the inse ...Show All
Visual Studio Font in Search Results window too small and can not be changed
When I do a Search in Visual Studio 2005 Help, a Search results window appears. The font in that window is so small that I have a hard time reading it. (My eyes are 64 years old.) Ok, no problem, I thought, I'll just change the font size to a larger font. Oops, there seems to be no way of changing the font size in the search results window! (In Help windows displaying a help article, you can change the font size, but not in the search results window). The same problem occurs with the Contents pane and the Index pane in Visual Studio 2005 Help -- font size can not be changed. Or am I overlooking something ...Show All
Visual Studio Uninstall Previous Versions?
Just getting ready to install the MSDN May 2006 library for VS 2005 - looking to clear off some hard drive space and I noticed that my box (inherited from previous web developer) has the following installed: VS .NET Pro VS .NET Pro 2003 VS 2005 VS 6.0 Pro I was planning on keeping .NET Pro 2003 in addition to, of course, VS 2005. Does this have any major implications The reason I'm keeping 2003 is that a lot of systems were built before I got here and I am just learning .NET and I'm afraid I'll break something by opening it with VS 2005. Any input appreciated. Mahalie: VS2003 and VS2005 can exist side-by-side on th ...Show All
Windows Forms problem of binding combobox to datatable
i create a datatable by manual, then bind a combobox to it, but an exception was been throwed my code is here: Dim dt As New DataTable("Count") dt.Columns.Add("Index", System.Type.GetType("System.Int16")) dt.Columns.Add("Name", System.Type.GetType("System.String")) Dim i ...Show All
Software Development for Windows Vista Platform SDK Build Environment Link Errors (Standard C++ Library)
DirectShow COM Stream Filter DLL's fail to link with #include headers from the Standard C++ Library. To illustrate this, a very simple example found here: http://msdn.microsoft.com/library/default.asp url=/library/en-us/vccore/html/vcwlkCreatingACOMServerUsingNotepad.asp will exhibit the problems. If you follow the steps to create and build this simple COM DLL from the Platform SDK command shell build environment used for DirectShow examples (WindowsXP-32 Bit - Debug) the example will fail to link with unresolved symbols from the Standard C++ <iostream> library. However, if you follow the example and buil ...Show All
SQL Server "large value" data type(bcp)
I want to store some binary things(pic and so on), so I create a table which contain a a "varbinary" data-type column. but 1. I used OPENROWSET to insert the large file in this table. 2. I used master..xp_cmdshell to retrieve data out as a file. One strange thing happened: the size of the input and output is really different(output is 1k bigger than the input file). and it seems that the file is broken with different file format...... I really don't know why.... Any help would be appriciated..... kavin Could you please post a simple repro script What command or utility are you using with xp_cmdshell to crea ...Show All
Windows Forms Lack of reaction on the IPropertyChangeEvent
> >>We changed this in Beta 2 so that you get notification for all rows rather than just the current row. Do we still need to use IBindingList in order to get notification for all rows If no, what is the future role of a BindingList Thanks, Koson "Joe Stegman"" <jstegmanONLINE@microsoft.com> wrote in message news:<#2w5uKCRFHA.3704@TK2MSFTNGXA02.phx.gbl>... > > You're right. This has been fixed but the fix mised the Beta 2 cut-off but > will be in the next CTP. > > Joe Stegman > NET Client Team > Microsoft Corp. > > This posting is provided "AS IS" with no warranties, and con ...Show All
Visual Studio Express Editions Does VS Express Editions Support the Namespace System.Web.UI.WebControls.WebParts?
Does VS Express Editions Support the Namespace System.Web.UI.WebControls.WebParts like VS 2005 does Bill Since this namespace is part of the .NET framework, and not the Visual Studio IDE, you can use it. However, it only makes sense in VWD Express (for web development). ...Show All
Visual C# Overwriting open app
Well, i download the update file from the server then i need to overwrite the new .exe ! How can i do this I tried with this, but it doesn't work. private void downloadcompleto( object sender, AsyncCompletedEventArgs e) { string velho = "Pc Info.exe" ; string novo = "Pc Info.tmp" ; //File.Delete(velho); File .Copy(novo, velho, true ); } Hi, The best way you can handle this is separate updater code in an other exe for example Updator.Exe . This exe should run first; All updati ...Show All
Visual Basic Sending messages to either console or windows frontends.
I have a program that can be run with a GUI or automated with a console. They both do exactly the same thing, just the console takes command line args while the form part takes user input with buttons and junk. They both (or soon will) run some tests and both use a class that I built that keeps track of the tests. Now what I want to do is inside that class, send messages with important information like the status, if anything fails, whatever. I want the console application to write that info to the console and I want the forms version to display it in a prompt of some sort, (I haven't quite figured out how I want to do that bit yet) I was ...Show All
.NET Development Collection(Of Thread) - Store Thread objects problem
Hello, I have been struggeling for days with getting my application to work. It basically allows a user to download a file from a website, stop/resume the download and various other options. My problem is that i create a new thread for each file in the download queue. To keep track of all the threads created i store them in a Collection for later use. Example: dim MyThreads as New Collection(Of Thread) Now let's say MyThreads contains 3 threads. Let's abort the work on thread 1 (0-2) = 3 Dim CurrentThread as Thread = MyThreads(1) CurrentThread.Abort() How can i create a reference to CurrentThread so that it can attach ...Show All
SQL Server SSIS Script for Monitoring Windows Service
I would like to use SSIS Script for Monitoring Windows Service... If Windows Service Up / Down. I should be able to Notified by Using SSIS Script(SQL SERVER 2005). Please Help me How about the WMI Event Watcher Task. Not sure what you really want to do but SSIS would not be my first choice to monitor system avilability, there are plenty of better suited products available. ...Show All
Visual Studio Tools for Office Shimming in VS 2005 Tools for Office
OK - so maybe I'm missing something - it would appear the VS 2003 wizard can still be used to create shims for IDTExtensibility2 COM add-ins for Office... (I need to support Word, Excel, PPT, etc.) ... but the wizard is a C++ language wizard, and VS 2005 Tools for Office doesn't include C++. Any other stand alone alternatives for building shims, or something that works stand alone in VSTO Hi; We're using the shims. The shim is C++ but it can call a C# Add-In. That is our setup. - dave ...Show All
Visual C++ Debug Assertion Failed
Hi I have just got our main C appilcation which was developed under Visual Studio .Net 2003 ported/compiled/run successfuly as a release build under Visual Studio 2005. However when I try to run the debug build I get the following: Debug Assertion Failed Program : myapp.exe File : f:\rtm\vctools\crt_bld\self_x86\crt\fstat64.c Line 64 Expression (_osfile(fildes)&FOPEN) I have degugged it to the following function and the fstat call within it: int get_file_size( char *filename) { int fh; struct stat info; fh=open(filename,_O_RDONLY); if (fh==-1) { error_handler(10,TXTOPE, "" ); re ...Show All
