Dianne Siebold's Q&A profile
Visual Basic Please help with WMI problem
I wrote the following to remove files from a directory (and subdirectories) and it runs great! The only problem is that it doesn't EXIT!!! Iv'e traced it and it simply STOPS at the end of the outer for/next loop. No error, just stops. It seems to have something to do with the array colFolders. Could there be something in the second WMI service call thats corrupting it Any help would be appreciated! ----------------------------------- ...Show All
Visual Studio Express Editions Finding Verbs for an Application
I am using the following piece of code (from VBExpress help) to find all the verbs for a specified application: Dim filename As String = "C:\Program Files\Adobe\Acrobat 6.0\Reader\AcroRd32.exe" ' Dim startInfo As ProcessStartInfo startInfo = New ProcessStartInfo(filename) Dim i As Integer = 1 Console.WriteLine( "Supported verbs associated with {0}: " , filename) Dim verb As String For Each ...Show All
.NET Development Performance issues
the winform application i am babysitting uses webservices and my problem is with the performance of the application. when i debug and run from visual studio .net 2003 IDE the performance is ok but when i build the application and install the application, the performance is very bad. i am testing on my development machine and also on another test machine there is no difference. The data + webservices is on a seperate server in both cases. you wou ...Show All
Windows Forms Excluding files from setup project (VS2005)
I am having problems excluding files from setup projects. This problem is reproducible 100% of the time. A simple example would be to create a solution with 4 projects: A, B, C and D. Projects A and B both have project C as a dependency. Project B also has a dependency on project D. Project A -> depends on project C Project B -> depends on both projects C and D Project C - utility project Pr ...Show All
Visual C# Disable button
Hi, I want the following thing to happen: I have FORM1 and FORM2. When I push on a button on FORM1, FORM2 should open. But my problem is, that when I push again on the button, I get 2 times FORM2. How should I fix this Thx Woeter, do you want the user to be able to continue to use Form1 (i.e. type or click buttons in it) while Form2 is displayed (Other than displaying another Form2, of course). Is that correct ...Show All
Visual Basic Insert float to SQL from VB 2005
Hi. I have a Windows Form to insert/edit/delete records from a SQL 2000 database. I have a problem when i insert a float (for example 11,35) to the SQL Server. Visual Basic 2005 insert 11,359999656677246 value in the database. I need to do something Where i can configure the number of decimals If i write (11,344) i want to insert in the database 11,344.... if i write (11,34) i want to insert 11,34. Thanks a lot!!! ...Show All
SQL Server Controlling PDF export filename
Folks, Our client has requested that we change the export file name (PDF and others) to match the report name. Currently, the name is based on the report's filename (eg, foo.rdl exports as foo.pdf) -- this causes problems because the same RDL is being used for a few fairly different reports. Is this controllable at all thanks, --randy If you are using the ReportViewer control, you can s ...Show All
SQL Server Left Outer Join
Hi All Dudes and Dudesses Please help... I've got Two tables, Problem and Breach, in DB Support. The main Table (Problem) has a primary key on field Number and I retrieve most of my data from this table but the other fields are irellevant. The Breach Table includes fields: Number & Keyword. I use an Left Outer Join to connect from Problem.Number to Breach.Number and retrieve the Breach.Keyword if any. If there's no records in Breach it s ...Show All
Visual Basic Convert a long integer (in seconds 10^-7) to date/time
I am reading the IE Cache index, which contains dates/times stored as long integers. These are times relative to 0:00 1/1/1601 How do I convert these long integers to standard dates, allowing for time zones and daylight saving (without lots of tedious arithmetic). There must be a way, as W32TM can do it 10^-7 seconds are 100 ns = 1 tick. You can use the TimeSpan class to represent that time and ...Show All
Visual Basic Combobox: how to retrive the current selected object
Hi all, I just swiched from VB6 to VB 2005 EE: wow, the new ide is very cool! I'm having some issue using combobox: On the form load I have cmbLoadData.Items.Add(new Prodotto(id_articolo, id_reparto, nome, descrizione, prezzo, iva) My problem is: how can I retrive the current selected Prodotto in cmbLoadData_SelectedIndexChanged () I'm sorry for the easy question, I searched around but found nothing. Thanks for your time. How about: cmdLo ...Show All
SQL Server Analysis Services & Default Value
Is it possible to define a default value for each a parameter also in a dataset I have a dataset with a parameter from the dimension Time. I would like to change the default value from the parameter. I tried to create a dataset to get the current year unique name, but if I set it in the parameter dialog it does not recognize the value. I have a dataset in a report with the parameter Year from the ...Show All
Visual Studio 2008 (Pre-release) How should we submit bug reports?
For now I'll send my findings directly to Mr Bailey Thx NickNotYet I have loaded VISTA Beta 2 on to my systems and here are this items that I have noted after the first day: 1. Microsoft Keyboard with Fingerprint Reader: 1. Driver having Issues 2. Digital Persona software fails to load 2. INTEL 536EP Modem Driver Failed 3. NVLDDMKM.SYS Version87.98 causing performance issue ...Show All
Visual C++ Multiple Resource Files
Hello. I have been "told" that my app may need to operate in multiple languages. As far as I can tell this will need me to create another resource file, with all the same dialogs, menu's etc just with different languages. So "File" is something else in spanish. I realise that this is a labourous task etc. I was wondering where it is in Visual studio that you can specify to use a different .rc file As I understand it is a ...Show All
Visual C++ vs .net 2003 class wizard problem
Hi, I'm running vs .net 2003. If I start a new mfc project, add a dialog resource, then enter the class wizard to add a CDialog class to my project, everything works out fine. But if I make a blank Win32 project and start making an mfc project by hand, and try to do the same thing, the class wizard will just exit without making any files or adding anything to my project. Any advice I tried changing the project settings t ...Show All
Visual C++ Image Color Management in VC++ 8 Platform SDK
I'm converting a VC++ 6 MFC app to VC++ 8 using Visual Studio 2005 Standard. The existing app uses Image Color Management, so it #include's icm.h. In the VC++ 6 environment, it is included from the Platform SDK [$(ProgramFiles)Microsoft SDK\include] directory. A Visual Studio .Net installation delivers a version of the Platform SDK in a subdirectory of the VC directory [$(VCInstallDir)PlatformSDK] and this directory is setup to be used for in ...Show All
