liquid.ice's Q&A profile
Windows Forms How can you programatically scroll a ListBox?
I need to set a listbox so that the LAST (on the bottom) item is visible by default, and the user can scroll to the top item. The effect I am looking for is like a text console that has lots of text coming in...but there&nb ...Show All
Visual Studio How to support editing file path properties in the properties window
Hello, I've implemented a simple property page by extending SettingsPage. One of my custom properties is a string that representes a file path, like so: [ Category ( "Test" )] [ Description ( "Path to a test file" )] [ DisplayName ( "Test File path" )] public string MyFilePath { get { return this .myFilePath; } set { this .myFilePath= value ; this.IsDirty = true; } } How do I support the editing of thi ...Show All
Windows Forms Two form Navigation
Hello guys this question was asked several before me but after reading several related threads i figured to post a new one. so here is my problem . I have two form one named "frm_main" and second "frm_aboutme" there is a command button on both forms that make that form hide and visible another one. alternative processes in vb6 uses name.hide and name.show properties but now i have dot net and i can't figure this out so i need ...Show All
Smart Device Development Semaphore for inter process syncronization? Does one exist?
I need to syncronize two processes, and I need a semaphore. Does one of these exist in .NET CF I found a named mutex in OpenNetCF, however, not exactly what I was looking for. Appreciate any help, Thanks! If you are using .NET CF 2005, have you already checked out the built in System.Threading.Mutex Class that is meant for inter-process synchronization ...Show All
.NET Development Error - ADODB ver 7.0.3300.0 be installed in GAC first
ADODB ver 7.0.3300.0 be installed in GAC first While installing the vb.net application, I am getting this error. How to do it right I ran into this with a few applications where I was using the new Visual Studio 2005 Report Viewer. It seems this is something the report viewer controls require. I ran into it while using ClickOnce deployment, so I'm going to assume you're using it also. On the publish tab, if yo ...Show All
.NET Development bug in serialport.close() ?
Hi ! Here is my problem ... I developped in C# a class heriting from SerialPort. It contains functions structured like this : serialPort.open(); ....write....read.... ans so on; serialPort.close(); I use a timer to run theses functions every miliseconds. After a time, the application freeze. When i debug using "break all", i see a green arrow pointing serialPort.close(). When i press F11 to go to the next instruction, i can't see any y ...Show All
SQL Server FTP Task error when no files found on FTP
Hi, I have created a FTP task that logs into FTP server and receives files and scheduled it to run every 15min. However, it fails when there are no files on FTP. How would I check the if files exist How can I catch the FTP task error and compare it to Hresults.NoFilesFound in a script task Thanks in advance for any help. SSIS newbie - There is a property in the FTP Task Editor called "StopOn ...Show All
Windows Forms VB or C#, and why?
I come from a C/C++ background and never touched VB much until about a year ago. I was amazed at how simple it was to use COM components in VB. It was much easier than doing it in C++. So I can see why people write VB c ...Show All
Visual C++ SPROXY error "sproxy.exe does not fully support attributes." when importing WSDL, makes proxy class unusable
We've developed a webservice using C#. part of the WSDL looks something like this: < s:complexType name = " channel " > < s:attribute name = " name " type = " s:string " /> < s:attribute name = " title " type = " s:string " /> < s:attribute name = " description " type = " s:string " /> < s:attribute name = " channelaccess " type = " s:int " use = " required " /> < s:at ...Show All
Windows Forms Cannot access a disposed object named "MainForm"
Hello all, I receive this error when I click "cancel" on Login Form. I'm working with CSharp source code, but I don't make any changes. Here is the exception: --- An unhandled exception of type 'System.ObjectDisposedException' occurred in system.windows.forms.dll Additional ...Show All
Visual Basic new learning VB - how to make "Empty Project"?
Hi, Using VB Express Beta 2, I am trying to learn VB using a book entitled "Beginning Visual Basic.Net" by Wrox. I realize it is a few years old, but so far everything is worked fine. I am on the "Building Objects" chapter (Chap 4), and it says to create an Empty Project, Add Class, Add Module Since "Empty Project" is not present, I started by adding a Class, then added Module. So, I have: Car.vb ------- Public Class Car Public ...Show All
Windows Forms Added unbound grid rows are blank
Added unbound grid rows are blank I have a master-child relationship. The master are unbound controls, and the two children are grids. The column names and types I created in the columncollection. When I save the master, values automatically go into the grid columns and saved. They appear in the grid and are updated correctly to the database. If I add another row, it's values appear in the second row. However, the first row ...Show All
Visual C++ _itoa "identifier not found" once ported to VS 2005
I have recently installed VS 2005 and loaded my VS 2003 project. I quickly realized that I needed/wanted to define "_CRT_SECURE_NO_DEPRECATE" bc I need to be up-and-running with a clean compile fairly soon. After adding the underscore to many of my string related calls, my only remaining problem is with four existing _itoa() function calls. I get the following compile errors: error C3861: '_itoa': identifier not found Sure, it ...Show All
Windows Forms Copy/Paste/Delete/Undo in a MainMenu
How can I utilize these commands using a MainMenu as seen in most of today's applications Sure, but keep in mind that you don't have to literally store a "text" value in your tag -- since it is of type Object you&n ...Show All
Windows Forms [Beta 2, C#] Problem saving Settings when collections are involved
Hi, this has been bugging me for a while - there seems to be a bug (or more likely, I don't know yet proper way to use it) when some of the Settings are collections. I am using Settings designer and rely on build process to generate strongly typed Settings.Default class for me, and that works fine. But if I choose a NameValueCollection or StingDictionary or something similar, I cannot save the settings. I have manually set the "key" of thi ...Show All
