Topics
-
- 0 replies
- 746 views
I have created my own browser to view HTML documents in .NET I am having an issue with my back and forward button. When there is not a page to go back or forward to the application comes up with and error. How do i set it to do nothing when there arent any pages to navigate to??? Also, does anyone know how to get a page to refresh. I tried AxWebBrowser1.Refresh() That just doesnt work. Please someone, any help with this is greatly appreciative. Thank you.
Last reply by Joey Picerno, -
-
- *Experts*
- 6 replies
- 949 views
Sorry if I offended anyone in the past few days. I am an ******* and if I don't instant gratification at times I get really illogical. Aimed Specifically @ DiverDan.
Last reply by DiverDan, -
-
-
- Administrators
- 2 replies
- 1.9k views
Hi guys, i was wondering if there is a binary type in vb.net i need to declare a number as binary, and then add 1 to it exemple: 0 1 10 11 100 101 110 111 1000 1001 1010 1011 1100 1101 1110 1111 .............. does such thing exist in dot-net ? or ill need to implement it myself thanks for any help, kind regards, Bili
Last reply by OmarB, -
-
- 2 replies
- 1.2k views
Is there a way that I can find out if the BACK button has been clicked?
Last reply by marlin, -
- 1 reply
- 1.2k views
Is it possible to right text in vertical without using GDI+? I mean, rotating text 90 degrees. Vertical Label?
Last reply by Machaira, -
- 2 replies
- 832 views
Alright working in a programming class at my high school and any end commands or openfiledialog boxes or anything like that do not work they get an error message about systemsecurity. Options to break continue or help or something so if anybody is still in high school we need help.
Last reply by daveydave400, -
-
- Administrators
- 2 replies
- 1.2k views
I have been trying to get the code found here working: http://pinvoke.net/default.aspx/secur32.LsaLogonUser Does anyone have any insight into this?
Last reply by Matthew Webster, -
-
-
- Moderators
- 4 replies
- 1.1k views
Yes you can shoot me. I'm at work converting reports from ASCII Display over to a Reporting Module for more professional display. 500 lines of code with maybe 20 of them being comments - 10 of that being the Header which doesn't really say anything. Oh, and whoever wrote this procedure didn't even tab properly so indents are all over the place. This is a single procedure set up to handle 3 variations of the same report and various sorting methods. I just know this could be handled better through use of procedures and/or classes. Damn I miss programming in .net
Last reply by Denaes, -
-
- 4 replies
- 1k views
Hello, I have an insert query that works on mysql and another delete statement that doesn't seem to work when executing on mysql..... the problem is with the datetime I think..... this works: sql = "insert into tblchat (tijd, tekst, naam) values (str_to_date('" & now & "','%d/%m/%Y %H:%i:%s'),'" & gesplitst(0) & "','" & gesplitst(1) & "')" this doesn't work: sql = "delete * from tblchat where tijd < STR_TO_DATE('" & dateadd("s",-5,now) & "','%d/%m/%Y %H:%i:%s') " I don't understand why...Is the delete statement wrong syntax???? greets, Inter EDIT: this code did work on an access database but instead o…
Last reply by kejpa, -
- 1 reply
- 1.1k views
It sounds complicated, but it's hard to explain in a single line. I'm creating a control and I want to create a property that will allow me to add multiple (as few as zero and as many as all in an extreme case) controls to a ControlCollection, ArrayList or Collection in my custom control. When you click on the property, I want a dropdown to popup and possibly look like a checked listbox with all of the controls... or maybe just have a window come up with a listbox full of Controls on screen and Controls added (or to add to) the control. I've seen similar functionality in a few components. A bindingsource (2005) has a dropdown menu to select from a list of datas…
Last reply by Denaes, -
- 1 reply
- 859 views
I'm using mostly typed datasets, but I just tried to create a manual DataAdapter and I can't find it. I looked it up in the help file/MSDN and it doesn't give the namespace for it. The dataset is in a totally different namespace than I'm used to as well. I searched for a while on google, but everyone is talking about VS2005 doing things for you and not how to do things yourself.
Last reply by Denaes, -
-
- *Experts*
- 2 replies
- 855 views
1. In Visual Basic.net, when you add a typed dataset, binding source and Table Adaptors to your project (they're added automatically as a package when you add various tables), I have no problems with the fact that new controls are created for these objects. Pretty nice. But the instances that are automatically added to the form are really not named what I want: UsersBindingSource, UsersBindingTable, UsersBindingNavigator. then the automatically databound controls: FirstNameTextbox, isDeadCheckbox, etc. This just bothers me to no end. I know MS likes to have a new naming convention where you don't use prefixes, but I think thats silly. Even if you don't go with …
Last reply by Denaes, -
-
- 1 reply
- 1.7k views
click on modify button? Public Sub DoModify() Dim bm As BindingManagerBase = Me.DataGrid1.BindingContext(Me.DataGrid1.DataSource, Me.DataGrid1.DataMember) ===>>> Dim dr As DataRow = CType(bm.Current, DataRowView).Row <<<=== Dim editform As New EditTransOverride(dr) Dim retval As DialogResult = editform.ShowDialog() If retval = DialogResult.OK Then bm.EndCurrentEdit() Try Dim substr As String = dr.Item(4) substr = substr.Substring(0, 2) ExecOnTransOverride.upd(dr.Item(1), dr.Item(2), dr.Item(3), dr.Item(4), dr.Item(5), dr.Ite…
Last reply by bri189a, -
-
- Leaders
- 7 replies
- 1.7k views
I'm currently working on a control extended from the RichTextBox control, it supports brace completion, quotation completion, HTML element completion and smart indentation. I want to add line numbers like most common editors, can anyone point me in the right direction? Thanks!
Last reply by rowanjl, -
-
hi, i am working on a chat program i want my client to set wallpaper as i want how will i send a picture to it and set it as wallpaper? in c#
Last reply by Nate Bross, -
- 0 replies
- 1.7k views
If you want to insert DON'T do this Dim dr As DataRow = CType(bm.Current, DataRowView).Row Dim addform As New AddTransOverride(dr) Dim retval As DialogResult = addform.ShowDialog() the above will modify the current row you are on, but do somethiing like this Dim dr As DataRow = bm.addnew 'or bm.new I don't have vs on this machine so I can't check Dim addform As New AddTransOverride(dr) Dim retval As DialogResult = addform.ShowDialog()
Last reply by macupryk, -
- 0 replies
- 901 views
I am using Crystal Reports that comes with Visual Studio.net 2003 and I would like to know if there is a way to create a base report and have my other reports inherit from that base report.
Last reply by dalmond, -
- 1 reply
- 1k views
Is there a way to execute a command window app and redirect the output as it's being outputted? (sp). For instance, I start a command window exe using Process.Start(). This exe spits out text to the command window screen for 30-45 seconds. I want to catch those lines and display them in my Windows Form app as they're being generated. Waiting 45 seconds to do Process.StandardOutput.ReadToEnd() doesn't help.. Any help? I'm using C#.
Last reply by Diesel, -
- 2 replies
- 964 views
Hey all. I'm having an issues with a datagrid. I have a datagerid setup that allows the user to make changes of the data that is populated. The edit and delete functions work fine as does the insert for the most part. The problem I'm having is that when the user clicks a button the datagrid makes room for a new row. When the user clicks in the new row all of the cells are then filled with the value I set in the NullText property for each column. When user has finished and clics the save button for the new record andything the user actually typed in is save where as if the user just tabbed to the next field(meaning the nulltext value is correct) doesn't get sav…
Last reply by MadMaxx, -
- 1 reply
- 1.7k views
This is my insert sub routine. Public Sub DoAddnew() Dim bm As BindingManagerBase = Me.DataGrid1.BindingContext(Me.DataGrid1.DataSource, Me.DataGrid1.DataMember) Dim dr As DataRow = CType(bm.Current, DataRowView).Row Dim addform As New AddTransOverride(dr) Dim retval As DialogResult = addform.ShowDialog() If retval = DialogResult.OK Then bm.EndCurrentEdit() Try ExecOnTransOverride.ins(dr.Item(1), dr.Item(2), dr.Item(3), dr.Item(4), dr.Item(5), dr.Item(6), dr.Item(8), dr.Item(7), DateTime.Now, dr.Item(7), dr.Item(9)) SqlDataAdapter1.Update(ds, "DsTransOverride1") …
Last reply by macupryk,
-
Who's Online 0 Members, 0 Anonymous, 54 Guests (See full list)
- There are no registered users currently online