Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
all groups > dotnet general > october 2004 > threads for thursday october 7

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

Customizing Windows Installer
Posted by Job Lot at 10/7/2004 11:09:02 PM
How can I customize windows installer to run osql command and install Internet Explorer, when user runs setup.exe file. Thanks ...more >>


start page... only stores 4 history
Posted by Tom at 10/7/2004 11:08:50 PM
hi friends, just curious why is my start page only storing 4 solutions in its history ? there should be more there's like a whole page worth of space yet only 4 are stored in history why is that ? Thanks Tom ...more >>

upload, download, vb .net ?
Posted by GATMAN at 10/7/2004 9:23:02 PM
HELLO is there anything like the inetcontrol(vb6) in vb.net, i need to upload and download files from a vb.net application, why is it so hard to find an example of this with .net GATMAN...more >>

Excel automation - writing image/picture files
Posted by Mansi at 10/7/2004 8:29:03 PM
I'm trying to automate Excel 2003 from Visual C# .Net. Is it possible to export an picture/image file from c# to excel? If so, how do you do this? Are there any code examples available? Thanks. Mansi ...more >>

Accessing MessageQueue from a remote machine
Posted by Anibal David Acosta F. at 10/7/2004 5:55:50 PM
I want to access to MessageQueue from a remote machine, the path ".\private$\myQueue" only works locally, and the path "\\myServer\private$\myQueue" doesn't works. Do you know how can I access? some example? Thanks ...more >>

appending information to wave files
Posted by Xavier Valdés at 10/7/2004 5:51:29 PM
Hi all, I wanted to add metadata in my wave file. I've read something about streams but I don't know which is the common usage of them for my purpose. I wanted, for example, to add the lyric of a song in my wave file but I want to remain its compatibility with wmplayer and other players......more >>

Service depends on SQL Server
Posted by Alan Pretre at 10/7/2004 5:19:44 PM
I have a Windows service that is having trouble starting up at boot time. It requires SQL Server to start up. I have added MSSQLSERVER to the service dependencies (as explained in http://tinyurl.com/5s7kx) but that doesn't help. I changed the dependency from MSSQLSERVER to SQLSERVERAGENT which ...more >>

get 7-bit from character (GSM 03.38)
Posted by DraguVaso at 10/7/2004 4:49:42 PM
Hi, I need to a way to find the 7-bit code from a character. Or a function like Asc() but that will give the character code based on the 7-bit ecoding (I needf it fo convert text to GSM 03.38). For exemple: in ASCII (what I don't need!): "é" -> 233 (= Asc("é") -> 111010...more >>



Windows Installer not getting included???
Posted by Job Lot at 10/7/2004 4:45:03 PM
Can some1 pls help me with this I have recently installed .net framework bootstrapped plug in to include mdac and .net framework in my custom application setup. Now the problem is, MS Windows Installer 1.5 is getting included the package? I was trying to install my app on a computer runni...more >>

"OSWatcher" class
Posted by John Spiegel at 10/7/2004 4:16:06 PM
Hi all, Not sure if there is anything, but I'm looking for direction on how I might track the topmost process on my PC. Basically, I'm looking to build a service that would monitor for any time a different window was fronted with the idea being that it would be a quick estimator of where I'm ...more >>

insert trigger, profile could not trace
Posted by Nathan at 10/7/2004 4:05:04 PM
We have merge replication system. In a table, there is a insert trigger. When a record is inserted from SQL analyzer, the trigger works fine. When a C# application insert a record, the trigger did not fire. I even can not trace the insert from the application with profile. Where I missed? ...more >>

Opening a browser using system.disgnostics.process class
Posted by Shawn Hogan at 10/7/2004 3:04:05 PM
I'm trying to open an instance of the default browser and browse to a URL. I'm seeing an issue with the process class where if i execute my process using this code Dim p As Process = New Process p.StartInfo.Arguments = "www.starwars.com" p.StartInfo.FileName = "iexplore.exe" p.Start() p.Clo...more >>

FileSystemWatcher in Windows Service
Posted by Bill Manring at 10/7/2004 2:07:02 PM
I created a Windows Service (written in VB.NET) that uses a FileSystemWatcher to monitor a directory for file creation. When files with a certain extension are created in the directory, the file is opened and read (something is done with the contents). Then the file is moved to a backup di...more >>

FileSystemWatcher in Windows Service
Posted by Bill at 10/7/2004 2:05:02 PM
I created a Windows Service (written in VB.NET) that uses a FileSystemWatcher to monitor a directory for file creation. When files with a certain extension are created in the directory, the file is opened and read (something is done with the contents). Then the file is moved to a backup di...more >>

Serialize Assembly to Stream and back again
Posted by Carl Gilbert at 10/7/2004 1:36:48 PM
Hi I am trying to serialize an assembly into a byte array. I am using a BinaryFormatter to serialize the assembly into a stream. Once in the stream, would then save this to the database in a byte(). I have come across a few issues with deserializing the stream so I decided to strip out...more >>

font colour for disabled or read only textbox
Posted by amber at 10/7/2004 1:33:04 PM
Hello, I have a textbox that needs to have red font. I also want it set to enable=false, or else 'read-only'. When I change to either of these settings, the font turns black. Is there a way around this? Thanks in advance, Amber ...more >>

double
Posted by normd NO[at]SPAM online.knorrassociates.com at 10/7/2004 12:37:05 PM
I'm trying to multiply two doubles and assign the result to a double as well. But it seems the result is rounded up. x = 907.18474 y = 2.2046226218487757 the result I calculate 1999.999999999999902722818 But this is calculated to be 2000.0. I looked up double and it is specified as follows; ...more >>

F5 Causes dependancy check of every project
Posted by tsteinke NO[at]SPAM gmail.com at 10/7/2004 12:14:24 PM
I have a large soultion 20+ projects C++ MC++ and C#. When I hit F5 no matter what. It checks to see if it needs to build every project. "projectX" is up to date. It takes like 10 seconds. I know other people must of had this problem. Does anyone have a solution, Aside for turning off projects ...more >>

Buttons on MdiForm
Posted by Debi at 10/7/2004 11:55:02 AM
Hi, I added a few buttons to the Mdi form, to call the child forms in the button click event. But when the child window opens, all the buttons are displayed in front of the child window. Any idea on how to fix this. Thanx, Debi...more >>

max pool size was reached
Posted by Ken at 10/7/2004 11:33:02 AM
Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached. This has only happend since upgrading to .net 2003. The application worked perfect prior to the upgra...more >>

How to create a MSI file programmatically
Posted by Thomas Jespersen at 10/7/2004 10:55:54 AM
Hello I want to create a MSI file programmatically. Do you know of any third party .NET component which can help me with that? I'm going to use it like a self extracting zip. So it is not for a VS.NET setup project. Zip files will not do because these shall be distributed via System Man...more >>

Windows Forms application
Posted by gordingin NO[at]SPAM consiliumsoft.com at 10/7/2004 10:46:27 AM
When someone refers to a Windows form applications, are they just talking a plain o'l vanilla Windows application written in .NET? Thanks Ralph Krausse www.consiliumsoft.com Use the START button? Then you need CSFastRunII... A new kind of application launcher integrated in the taskbar!...more >>

Create Dynamic Control Arrays
Posted by **** KiteOregon **** at 10/7/2004 10:29:02 AM
I have created a simple user control. On the parent form i would like to display n instances of my usercontrol based on how many the user wants. How would you do this in vb.net or c#.net. If this were an asp.net application i think i could use something such as the repeater control. Than...more >>

determine if application is already running
Posted by Koert at 10/7/2004 10:29:01 AM
Hi, is there a simple way in .Net to determine if there is already an instance running of an application ? I want to avoid that a user starts an application twice. Thanks, Koert...more >>

Keystroke trapping in background?
Posted by Ed B at 10/7/2004 10:27:02 AM
....newbie warning... I am looking for a way to trap (and process) keystrokes before they are passed to the foreground/active application. Something similar to how, for example, the Alt-Tab key combination switches between applications, without the apps ever seeing that particular keycode....more >>

BC30002: Type 'DirectoryEntry' is not defined.
Posted by B R at 10/7/2004 10:22:19 AM
Hi, I am trying to use System.DirectoryServices for quering Active Directory, I am getting the following error Compiler Error Message: BC30002: Type 'DirectoryEntry' is not defined. Why I am getting this error ? Any Help will be appriciated. Thanks ...more >>

Unable to upgrade from XP Home to Prof When Service Pack 2 Install
Posted by Ryan Cowan at 10/7/2004 10:21:56 AM
I would like to upgrade from XP Home to Professional. However, I get the following error message: "Setup cannot continue because the version of Windows on your computer is newer than the version on the CD". Ultimately, I want to upgrade so that I can install IIS for the purpose of develope...more >>

How to generate a new solution much like an old one
Posted by Just Me at 10/7/2004 10:16:38 AM
Sometimes I'll need to generate a new solution much like an old one. I'll generate a new solution. Then copy the project from the old solution into it. Then do an add project. Then change the projects name. Then modify it. I've noticed that when I do that the GUID of the new project is the...more >>

Urgent Windows Control Help -- Please
Posted by **** KiteOregon **** at 10/7/2004 9:51:05 AM
I have some data that i want to present in a hierarchial display, but with this data i also want to have two buttons assoicated with each item. The perfect solution would be a treeview where each treenode allowed me to use a datagird to display the data. Here is an example of what i am tryin...more >>

question about undo
Posted by s-galit at 10/7/2004 9:49:36 AM
hi, i have a form with some textBoxes in array. how can i know to which textBox to permit the "undo" becase when im using the "textBox.canUndo" there is more then one possibility ?? what can i do?? For i = 0 To 9 If arrTextBox1(i).CanUndo = True Then arrTextBox...more >>

When "ToString" does not equal "ToString"
Posted by ayende NO[at]SPAM gmail.com at 10/7/2004 9:44:11 AM
I've a really strange problem, in some part of my code I compare two strings (through object), and while I *know* that they equal each other, and in the watch window they do equal each other, then the comparision return false. See here for details: http://www.ayende.com/Blog/PermaLink,guid,...more >>

Regex
Posted by Shabam at 10/7/2004 9:28:01 AM
Can someone give me a quick summary of what this does? static $S = array('/javascript:/si', '/about:/si', '/vbscript:/si', '/&(?![a-z0-9#]+;)/si'); static $R = array('javascript:', 'about:', 'vbscript:', '&'); $C = preg_replace($S, $R, $C); What does "/si" look for? ...more >>

a little problem i face when creating a variable..
Posted by Defused at 10/7/2004 8:21:07 AM
> i have a file named CDSEncoder.cpp, and i wanted to create a member variable > of this in KNNDlg.cpp...so i wrote the following under my KNNDlg.h file > > protected: > CDSEncoder m_encoder; > > but there showed.. > c:\Documents and Settings\MVP\Desktop\KNN\KNNDlg.h(25): error C2146: syn...more >>

Differences in XSL Transform between dotnet and MSXML
Posted by Peter at 10/7/2004 6:29:01 AM
I have noticed a difference in the processing of XSL transforms between dotnet and MSXML. Dotnet formats the resulting output differently, and since we use the <pre> tag in the HTML output it makes a big difference. What is in fact correct here? I don't see that the XSL transform engine s...more >>

Reading Custom Log
Posted by Lee at 10/7/2004 6:23:09 AM
I have created a custom log for my apps to write to. Writing to the log seems to be no problem, it's when I go to read it I get unexpected results. I have an application that reads the log and displays it's contents in a grid, and it also receives event notification from the log when it's upda...more >>

ASP --> ASP.NET Development
Posted by John A. Janes at 10/7/2004 6:07:04 AM
Just a quick question - I'm an ASP developer having little or no experience with ACTUAL Visual Basic. I recently purchased a tutorial on .net, but it: A) Seems geared twards (assumes I know) standard visual basic B) Focuses mostly on "drag and drop" I'm not a big fan of drag and drop, I l...more >>

{"The given assembly name or codebase, 'MyAssemblyDisplayName', wa
Posted by Pablo at 10/7/2004 5:49:01 AM
Hi, I'm creating an AppDomain and creating an instance of a class. This works fine unless I use caching, which I need to use. The exception that I get is of type "System.IO.FileLoadException" which message is: {"The given assembly name or codebase, 'MyAssemblyDisplayName', was invalid." }...more >>

Debugging Issue
Posted by PeteMc at 10/7/2004 2:55:02 AM
Hi I'm new to c# and .net from a vb6 background and i'm having issues with the debugging of applications I am trying to create a watch on an expression aString.IndexOf(",",0).ToString() but either in the watch window or the immediate window I get an out of scope Error however if ...more >>


DevelopmentNow Blog