Topics
-
- 2 replies
- 1.1k views
I have a class which inherits from the combobox ("JCombo"). Its items are an ComboBox.ObjectCollection of a type of object ("Class1") which I define in my project. The items are set in the New event of JCombo. An instance of JCombo appears in a form and a user control in my application, having been added at design time. If I make any changes in Class1 then the project won't compile - I get the error "Invalid Resx file" and a reference to some code in the resx file for the form and user control which contain the JCombo. The code which is referenced looks no different to a random series of letters and numbers to me, and clearly I can't correct this. So what's the be…
Last reply by rbulph, -
- 0 replies
- 1.5k views
I have written a Visual Basic application which incorporates the use of the txtextcontrol and crystal reports. For those who do not know the txtextcontrol is a control that allows us to make programs we create look more like microsoft word. My problem comes in when I try to use rtf tables in the txtextcontrol. I insert a table and use the columns and rows and it looks fine in the application. But when I do a print preview which incorporates Crystal Reports the text I put in the tables is horribly spaced. I researced this and basically I was told that crystal reports does not handle rtf tables very well. I need a way for users to use tables in my application and have it di…
Last reply by lothos12345, -
- 0 replies
- 3.1k views
I have an interesting problem. Using a databound grid with comboboxes, when I sort a comboboxes column, it sorts using the underlying value instead of the text of the combo box. It seems my sorting options are severely limited since I'm databound, has anyone come across this before and found a solution? All I've found online is this, but I don't think it is going to work for me.
Last reply by samsmithnz, -
- 0 replies
- 2.2k views
Hi, I've a question :) I'm trying to create a LAN Game browser for all Source games (e.g. Counter Strike Source). But I've no clue on how to create such a thing. Is the're a way so I can get a list of all computers on the network, and check all ports or something? Thanks in advance :)
Last reply by MrLucky, -
- 1 reply
- 2.2k views
Hi friends, I have some problem in Internet Information Services(IIS).I cant enable from control panel->Administrative tools.I have sql server.It is must to work with asp.net.If anyone know . kindly give help for that problem. Thanks for your valuable time. -Sasidhar
Last reply by Eduardo Lorenzo, -
-
- Leaders
- 4 replies
- 1.5k views
Yo, I am going to college and I am making a tic tac toe game for one of my assinments. Here is my problem I want to be able to click a button and on click be able to change the focus toward a text box this is the code I am using presently: txtBox.focus() Hint: This code works as long as my button and text box are not in a group box, but in this situation the text box and the button are both in the same group box.
Last reply by mhrappstead, -
-
- 2 replies
- 1.1k views
Hello I want to begin a SQL connection with a SQL database in VB.NET(ASP.NET). I used the syntax <%@ Import namespace="System.Data.Sqlclient" %> but VB makes an error from the first "%" sign. I wrote the syntax in Button1_Click event. what is the problem. I will be very happy if you can help me Thank you very much.
Last reply by m_m123, -
- 3 replies
- 1.7k views
i have a client connecting to a server. they exchange mesages fine the first time, but i dont know how to keep the server listening for a client indefinately. anyone give any pointers on this?
Last reply by nate, -
-
- Leaders
- 5 replies
- 1.7k views
Here's my code that doesn't work, I get thrown lots of exceptions and can't seem to understand why... Friend Structure structTest Dim varA As String Dim varB As Integer Dim varC() As String End Structure Friend struct() As structTest struct(0).varA = "blabla" struct(0).varB = 10 struct(0).varC(0) = "aaa" struct(0).varC(1) = "bbb" struct(0).varC(2) = "ccc" This is what happens at line: struct(0).varA = "blabla" How can I fix this?
Last reply by Nazgulled, -
-
-
- Leaders
- 2 replies
- 7k views
Anyone who has spent more than a little bit of time getting their hands dirty with reflection will be well aware that all kinds of magic can happen through the System.Type.InvokeMember method. Unfortunately, though, this function has a large number of parameters to cover nearly every member invocation/access scenario and it can become tedious stringing together confusing parameter arrays and binding flags and determining which parameters are relevant for every invocation, and the resulting code is very difficult to read. The Reflector class provides a number of methods that expose .Net's reflection capabilities in a more intuitive manner (and extends that functionality…
Last reply by snarfblam, -
-
- 2 replies
- 3k views
I have a datagridview on a Windows form. The first 2 columns are the key fields for the table in the database, so I have have them formatted on the grid as ReadOnly. However, I need to make them editable when adding a new row. Can someone advise me as to how this can be done. Thanks Guha
Last reply by gprabaka, -
-
- Leaders
- 9 replies
- 15.7k views
fbnfgndf To keep this list as a list and prevent it becomming too much of a debate could any discussions regarding it's content be posted at http://www.xtremedotnettalk.com/showthread.php?t=97091, Thanks PD. The differences between C# and VB have been growing smaller and smaller with each .Net release to the point where translating between them is mostly a trivial task. Despite this, newcomers to VB.Net are overwhelmed and confused by the mass of curly braces, semicolons, and strange compiler errors when copying and pasting code. The truth is that when it comes to the .Net Framework, C# and VB.Net are almost identical but there still are some major differences in …
Last reply by mskeel, -
-
- 0 replies
- 1.1k views
Is it possible to have a Delegate Function raised on the server (different appdomain) that prompts a client for a response and then after receiving that response continues with its processing. I am using a wrapper method to pass the function between appdomains The Invoke method to display the modal form BUT the server side thread doesn't seem to wait for a response..... Any help would be really appreciated
Last reply by Roey, -
-
- Leaders
- 15 replies
- 2.2k views
I'm using the tutorial from divil (http://www.divil.co.uk/net/articles/plugins/plugins.asp) to develop plugin-based applications but I'm having some problems that I don't have a clue on how to solve them... For instance, in the interfaces plugin: Public Interface IPlugin Sub Initialize(ByVal Host As IHost) ReadOnly Property Name() As String Function Calculate(ByVal int1 As Integer, ByVal int2 As Integer) As Double End Interface We are pre dictating that we only have a Sub called Initialize, a ReadOnly Property called Name and a Function called Calculate. However, I want the plugins written to my application to have their own functions (the many they w…
Last reply by Nazgulled, -
-
-
- *Experts*
- 4 replies
- 1.3k views
i don't work with access very much so i'm having a little trouble with this one. how do i set the default value with alter statements. i have this which gets me half the way there ALTER TABLE TESTTABLE ADD COLUMN MYFIELD INTEGER NOT NULL i have tried putting Default 0, Default(0) , Default=0, and numerous other combinations at the end of the above statement but know default value of zero is set.
Last reply by Nerseus, -
-
-
- Leaders
- 2 replies
- 8.1k views
Hi, I am putting a xml document into a textbox. The only problem is that all the indentation etc in the original document is lost when it is put in the textbox. So your left with an ugly mess of text, instead of a nicely formatted view. I have tried using a richTextBox instead but got the same results. Is there some way I can acheive this? Cheers, Davearia. :D :D :D
Last reply by davearia, -
-
- 2 replies
- 1.3k views
Given a brush, how do you get its colour? And vice versa - given a colour, how can you get a brush with that colour?
Last reply by rbulph, -
- 2 replies
- 1.9k views
Hello, I'd like to read in a XML file elements' content into a number of arrays (if it makes any difference: I'm using PL-SQL associative arrays to make a "bulk" insert of the XML file into an Oracle table) //"load" the xml file XmlTextReader textReader = New XmlTextReader(path); textReader.Read(); XmlDocument doc = New XmlDocument(); doc.Load(textReader); // Get all elements here XmlNodeList gridid = doc.GetElementsByTagName("gridid"); XmlNodeList spread6m = doc.GetElementsByTagName("Spread6m"); .... other elements go here // Loop throught the whole document And populate the arrays (declared And instantiated alerady) For (int i = 0; i < CountElements…
Last reply by Shurik12, -
-
- Leaders
- 10 replies
- 2k views
http://www.xtremedotnettalk.com/attachment.php?attachmentid=5526 I was messing around with code snippets and some how inserted this guy into the left margin of my code editor. I spent the last 1/2 hour searching here and the net trying to figure out what this is even called. What is it, and how do i get rid of it? MT
Last reply by MTSkull, -
-
I haven't been here for a while, but i am now stuck again. I want to get the users NT ID from their machine when they enter my asp.net VB (VWD) website. How do i do this using VWD? I need to validate just the user id (no passwords or the like) against a SQL database. Papa
Last reply by MrPaul,
-
Who's Online 0 Members, 0 Anonymous, 48 Guests (See full list)
- There are no registered users currently online