Topics
-
-
- *Gurus*
- Moderators
- 16 replies
- 2.4k views
I have seen interfaces on the web before, where a windows looking form loads in like an active x control or a java applet. If I have a windows based data entry form, is there a way to make this into some sort of control that can be displayed on a web page? How do I go about doing this or where do I start? Even if it isnt that fast loading, it would be very nice to have the ability to do this. I have seen this before but Im not quite sure if they used java applets or some other form. Any information on this subject is greatly appreciated. thanks very much. -JBD
Last reply by Mikecrosoft, -
-
-
- Leaders
- 2 replies
- 4.8k views
I've just seen the above error message for the first time. Why can't they? Is there some logical reason for this?
Last reply by snarfblam, -
-
- 0 replies
- 2.9k views
I'm creating a C++ .NET GUI tool with typical GUI elements and a 3D window. Apparently it's pretty easy to do a forms app in C# with 3D elements, but I haven't found much in the way of doing it in C++ .NET. (I'd like to keep it in C++ for code reuse in another project later). I know there's a way to map a DirectX device to a pictureBox in C#. Is there anything similar that can be done in C++? In C#, I also know it's possible to create a separate OpenGL or DirectX window in addition to the .NET forms, but again, I haven't found any way of doing this in C++. Any ideas as to how I would go about this, and if so, could someone provide some code to get me heading in the …
Last reply by nielw, -
-
- Leaders
- 2 replies
- 1.5k views
I'm working with a lot of Toolbars for my buttons. There is a thing that's driving me crazy about them though. I often have the user using 2 forms. Lets say you have Button1 on ToolBar1 which is on Form 1.. Well if you have the focus on another form , such as Form2 and you click the Button1 then you have to click the button 2x for it to register the click. The first click only chooses Form1, and does not click the button. No other control on Form1 has this problem but the Toolbar button1. I'm not sure if this is a 2.0 thing or what, Wordpads toolbar does not seem to have this issue but VS.Net 2005's Interface Toolbar does.
Last reply by NeuralJack, -
-
- 1 reply
- 1.5k views
I have a variable length string that I need to manipulate. It's 20+ characters long, but I only need the first 3 and second three for example: abcdef 12.5,.76m4---L7,8724... I can get the strip out all but first three (ABC) , and shift them to upper case, but can't find a method to extract the second three or the characters def. Here's my code: str1 = (str1.ToUpper) trimmedString = (str1.Remove(3)) Any ideas? Thanks, Gary
Last reply by Cags, -
-
- *Experts*
- 2 replies
- 1.3k views
I am currently writing a DLL plugin for the Dark Basic programming language. Unfortunately there is no command in this language to get the size of the main window, but I CAN get the handle of one of the controls (eg: button) on the form. I need to be able to pass this handle to my plugin DLL and use Reflection to access the properties of the main Form. Any suggestions on how I might accomplish this? Not had to use handles before so this is new territory for me.
Last reply by mooman_fl, -
-
-
- Leaders
- *Experts*
- 22 replies
- 4.1k views
How do you make a spalsh screen in VB.net. I know you used to able to just make a spalsh screen form in VB 6 but I see thats not the case in .net. I made 2 forms, One is my actuall program and the other is what i want to pop up before my program. Do i use the timer or sumthing? Thanks
Last reply by bdimon, -
-
Hi I'm still looking at Sockets and still cant get them working. I'm using them to connect to a IP Wallboard and to send a message. I can do this using WinSock no problem, but not the correct .NET way. This is what i've got so far, I get a message saying 'connected' but i can find any form of client.Send or something like that. Dim client As New TcpClient() client.Connect("172.28.48.150", 3500) If client.Connected = True Then MsgBox("connected") Else MsgBox("not connected") End If I've looked at plenty of examples, but none seem to help. They all allow for two way…
Last reply by Jay1b, -
- 7 replies
- 1.2k views
I'm trying to find some .NET code (preferably vb; but c# will work) to create an item on the Today Screen of a PocketPC. If anyone has any leads about this please let me know! -Thanks PS- This isn't exactly Windows Forums but I didn't know where else to put it.
Last reply by Nate Bross, -
-
- Administrators
- Leaders
- 10 replies
- 984 views
I am using .net 1.1 and i am trying to catch CONCURRENCY_EXCEPTION and throw a message for that exception using the code if(ex.Message == "CONCURRENCY_EXCEPTION") { MessageBox.Show("This record has been updated since you opened it. Please close the record and re-open it."); } it works when i try to compile it in my machine but after deploying the code it does not catch this error.It just give a general "Server encountered an internal error". Can any one help me in this.
Last reply by Gill Bates, -
-
- 4 replies
- 1.1k views
Can someone guide me to an example for setting the row of a DataGridView programmatically? For Examle: DataGridView1.row=12 I tried: DataGridView1.Rows(yyy).Selected = True but that only highlights the row.
Last reply by kcwallace, -
-
- Administrators
- Leaders
- 13 replies
- 1.4k views
I have an object I want to clone. I know the type, so I can declare my new object as the type I want, but then I want to loop through all the properties and assign them from the old variable to the new one. Is this possible?
Last reply by NeuralJack, -
-
-
- *Gurus*
- 2 replies
- 1k views
hi all does anyone have an idea about how to make Asp read from asp.net cookies and asp.net read from asp cookie coz i have site contain asp pages and aspx and i want to make sing sign on
Last reply by TheWizardofInt, -
-
- 1 reply
- 957 views
Can the Split method only work with single characters? I'm trying to use it, but it seems limited, unlike the VB6 function. For instance, if I want to split a string like this... "Hello||World||Goodbye||World" Using .Split on it with "||" does not return 4 elements, but 8, with blanks alternating between. So it appears .Split can works with single characters, whereas the Split function in VB6, it would have parsed it into 4 elements if I had passed it "||" Can .NET's Split function not do what I need?
Last reply by mskeel, -
- 0 replies
- 2.4k views
Hello, i have some problem. I have something to resolve with lookeahead and lookbehind assertions. I have an options, and there is a text value like this: <b>title</b>. I need to get the tag without the title. Example <option class=select value="0"><b>title1</b></option> <option class=select value="1"><u><i>title2</i></u></option> <option class=select value="2"><i>cite</i></option> <option class=select value="3"><u>underline</u></option> <option class=select value="4"><P id=i>text</option> The request should say: there a…
Last reply by radim24, -
-
- Administrators
- 9 replies
- 998 views
Hi, im new to programming so pleaser bear with me :) Im trying to make a program that creates a table for every entry on a table(store) and inherits (store sample). But it has error. Can somebody please point out to me what im doing wrong....... Dim cmdstr As String = "" Dim rdstr As String = "" rdstr = "SELECT store FROM stores" con1.Open() con2.Open() Dim cmdread As New OleDbCommand(rdstr, con2) Dim objreader As OleDbDataReader = cmdread.ExecuteReader() Dim cmdmke As New OleDbCommand(cmdstr, con1) Do While objreader.Read() objreader.Read() cmdstr = "CREATE TABLE [" + objreader(…
Last reply by thelner, -
-
- 1 reply
- 2.5k views
Hi all, How can I set the focus to a listbox? In the current situation, the listbox loses focus when one triggers the SelectedIndexChanged event. Thanks, Theo
Last reply by Theo, -
-
- Leaders
- 4 replies
- 3.5k views
What is UseWaitCursor all about? The help file says only "When this property is set to true, the UseWaitCursor property of all open forms in the application will be set to true." That doesn't actually tell you what the effect of setting the property will be, simply that when you set it for one form, it will be set the same for all other forms. Who on earth writes this stuff? The property grid says "When this property is set to true, the Cursor property of the control and its child controls is set to WaitCursor." This is untrue. Try the following code in a form with a button: Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e…
Last reply by rbulph, -
-
-
- Administrators
- *Experts*
- 5 replies
- 3.2k views
This should hopefully be an easy question to answer. Basically what I want to know how to do, is how to create an object that can be accessed in any class in the project without having to actually pass it into every single class. At the moment I'm creating the object in the main form and then passing that object into a class' constructer. When I have one thing that keeps getting passed into a bunch of classes it starts to get confusing. Is there something like an include file in c#.net so that I could just define it in there and use it throughout the project? Is there an easier way to do this?
Last reply by decrypt, -
-
-
- Leaders
- 6 replies
- 1.3k views
I'm trying to make a multiline scrolling textbox but with TextBox (Multiline=True) or RichTextBox (Multiline=True) the last string overwrites the text. What am I missing? Thanks, Gary
Last reply by snarfblam, -
-
Who's Online 0 Members, 0 Anonymous, 46 Guests (See full list)
- There are no registered users currently online