Answer Questions
Yu Xiao WebUserControls not shown
Hello, when I'm building a WebControlLibrary with a basic WebCustomControl and a basic CompositeControl the IDE (VS2005) displays only the WebCustomContol in the toolbox. Does someone know why my IDE doesn't show the CompositeControls Thank you, Roman Examples: public class SimpleCompositeControl : CompositeControl -> not displayed public class SimpleCompositeControl2 : SimpleCompositeControl -> not displ ...Show All
Jayender XML Reader and XML Writer
I'm looking to read an xml document using the xml reader class and then write all of the document except for 1 element to a new file. Here's the code I'm using: Dim Reader As XmlReader = XmlReader.Create(xFile) Dim Writer As XmlWriter = XmlWriter.Create(sfdWriter.FileName) While Reader.Read Select Case Reader.NodeType Case XmlNodeType.Element If Not Reader.Name ...Show All
RichardVo Com+ Error
I am using Com+ object pooling in my application .I specified the attribute for connection string using [Transaction(TransactionOption.Required),ObjectPooling(MinPoolSize=-1,MaxPoolSize=3), JustInTimeActivation( true ),SecurityRole("Authorized Users", false ), ConstructionEnabled(Default="Provider=OraOLEDB.Oracle;data source=DBOracle;uid=XXX;password=XXXXXX")] &n ...Show All
PauCl Dial-up connection
Hi, I have a dial-up connection using .Net application in Windows XP. Is there any way out to get the system information of how many bytes sent and received on the connection. I need to display the information on my UI screen. Any code sample would be great. Thanks. The System.Net.NetworkInformation namespace class should be of use to you. Specifically see: System.Net.NetworkInforamtion ...Show All
Vnsmith5 Form Namespace
Is there an easy way to change a Form's namespace. Adding "Namespace" to the code (like I used to in 2003) requires two changes - to each of the two partial files. That's how you do it, there may be something in the refactor menu, but seriously... I can remember when I did C++/COM, I preferred to add code in at least three places than have a wizard add methods for me. It's always better to prefer the ...Show All
GregE Combobox - ChangeValue status (Possible or NOT)
Hi, was wondering if someone can help me. I'm building a windows-based app. Is it possible to check if the value of a combobox has changed or not Like, I want to update values, but before the actual update, it must first check to see if the combobox's values has changed or not. Self speaking, if the value hasn't changed, it must by value (X), if the value has changed, it must be value (Y) Please. Thanks SJB ...Show All
CBDenver datagrid control
i've got a datagrid using a sql db - the grid works great - i just have 2 columns on the right hand side of the grid that I made templates - it seems you can put in blocks of code for some logic inside those item templates. i am trying to show an icon for each row - that will indicate buy or hold for example if [qty on hand] < 5 then response.write("buy") end if i just don't understand how to call an item row in the datagrid ...Show All
Fred Mumble Access security status (firewall, av)
I am trying to get information about the current status of the firewall and anti-virus application (status ok, deactivated, anti-virus definitions out of date and so on). The application we are writing won't be updated frequently, so checking registry keys of the different AV-vendors doesn't seem to be a good idea (AV Vendor releases a new version --> registry keys change --> our application doesn't deliver the right information anymore). ...Show All
sam2006 TCPListener help with port assignments
VS 2005 - VB.net Using Loopback interface (127.0.0.1) for communication between 2 seperate apps (A service, and a Service Controller) - lovingly known as IPC. Chose to use TCP to facilite communication. If there's an easier/better way, dont hesitate to suggest it (i'm new to .net and object oriented programming) Am I doing this correctly (best practice question) 1) Service establishes a TCPListener on port 1515 and listens asyncronously. 2) Serv ...Show All
SylvainLS Make .Net Application Terminal Server Aware
We have two same test applications written in vb and c#. We have a server on which we have installed Terminal Server and both the applications are installed on it. We use the application from client using RDC (Remote Desktop Connection). Case 1 : When we run the application on the Terminal Server. 1. &nb ...Show All
Henk vd Geld Network Programming
Hi Folks, I am in the process of writing a network server that'd cater to 10,000 clients(scalable to 20000) My main target is reliability with speed. I am using sockets using tcp & udp . And need to design a simulator to simulate 10000 client connections. Has anyone designed it so far if not how to go about doing it Is it possible to do this using vc# alone or do I need something else too. Another question off ma hea ...Show All
sp00k113 Same problem
I have two computers, a desktop and a laptop, both running win xp home. Both are wirlessly enabled and connect wirelessly to the internet through a belkin router. The desktop will happily see the laptop and share files, and everything seems to work just fine. The laptop, however, refuses to see the desktop. I have shared all folders properly, both are part of the same workgroup, and I have run the network set up wizard, and tried to connec ...Show All
_Michael Fischer_ Large Collection(s) of RegEx objects, is this OK?
I'm writing a small application that parses data from a server as it is received, and have around 500 regular expressions that, when matched, perform various tasks. What would be the best way to keep up with all of these Regex's, keeping the application as fast as possible I created a test application which looked something like this: int y = 0; for (i ...Show All
ClarkMe Query string will not evaluate an integer
Strange problem.... I'm populating a datagrid with data from a table based on a query string as follows: Private Sub PopulateParts( ByVal manualId As Integer ) Dim strSQL As String strSQL = "SELECT ManualID, PartNo FROM ManualPartLink WHERE ManualID= " + manualId ManualPartDataAdapter.SelectCommand = New OleDb.OleDbCommand(strSQL, ManualConnection) ManualPartDataAdapter.Fill(ManualPart1) ManualPar ...Show All
jan_bp Explain .ConnectionString Mechanism
I am interested to know how the ConnectionString line of code works. It appears to search machine.config, app.config and web.config. Anybody have any background on how this process works Does it really search all three files and in what order Protected Function DB( ByVal DatabaseName As String ) As String Return ConfigurationManager.ConnectionStrings _ (DatabaseName).ConnectionString End F ...Show All
