Topics
-
- 0 replies
- 839 views
Have created a dataset with two tables, myMembers and myGroupMembership. Have assigned the column Member_ID in the myMembers table as a primary key. With dsDataset.Tables("myMembers") .PrimaryKey = New DataColumn() _ {.Columns("Member_ID")} End With Have created a relationship between the two tables. dsDataset.Relations.Add(New DataRelation("relGroups", dsDataset.Tables("myGroups").Columns("Group_ID"), _ dsDataset.Tables("myGroupMembership").Columns("Group_ID"), True)) I now want to bind the result of the two tables to a single datagrid... …
Last reply by mike55, -
Mcad /mcsd
by Jay1b-
- *Experts*
- Administrators
- 4 replies
- 1.2k views
I am trying to convince my company to send me on one of these course. Obviously i want the MCSD, but i dont think they will stretch to that :( Looking at the 70-306 exam below http://www.microsoft.com/learning/exams/70-306.asp It suggests the following courses...... Course 2389: Programming with Microsoft ADO .NET Course 2565: Developing .NET Windows Applications (Microsoft Visual Basic .NET) Do i need to complete both these course before sitting the exam? I have been told not, but i cant see how you could the pass the exam, as they cover slightly different topics. Thanks.
Last reply by Jay1b, -
-
- 0 replies
- 803 views
I would like to know where to begin creating my own dockable windows and tabbed documents in VbExpress IDE?
Last reply by antecedents, -
- 3 replies
- 2.7k views
Hi All, Don't know if this is meant to be here or under the database heading, but anyway here goes. I am trying to gather some information about exporting data contained in a datagrid to an excel spreadsheet. I am not using ASP. The number of rows and columns are not set(fixed). If someone was able to point me in the right direction or even better a quick example. I would be greatly appreciative. I have search through previous threads and am unable to find any that relate to exporting from a datagrid on a windows form to an excel document. Please help. SonicBoomAu
Last reply by SonicBoomAu, -
msg = inputbox("string") if user press cancel, the program will end, but i dont know how to declare it so that vb able to recognite it?? i am appreciated if u guys can help me, thank
Last reply by CanOz, -
-
- Leaders
- 4 replies
- 1k views
Hi all. I have a two streams in C#. One is one that comes from a file on the internet, the other is a file on the computer. I need a fairly quick way to copy the content on the file on the net to the file on the computer. What is the best way to do this?
Last reply by snarfblam, -
-
-
- Administrators
- 2 replies
- 12.7k views
I am creating a database and want to create GUIDs in vb .net to use in the database. I can not find the answer to my question. How many characters are in a GUID or is it random after a minimum amount of characters? Thanks, Chester
Last reply by HJB417, -
-
-
- *Gurus*
- Leaders
- *Experts*
- 52 replies
- 6.6k views
What is your favorite 1st person shooter ?
Last reply by Benato, -
-
-
- Moderators
- 1 reply
- 1.6k views
I make Validator : System.Web.UI.WebControls.CustomValidator class. and defined ValidationType property which is type of ValidateType. I want to make the proerty is shown with Extended dropdown menu in properties window of Design mode. I did following but, it doesn't show. How can I do it? using System; using System.Web.UI; using System.ComponentModel; namespace TestControls { /// <summary> /// Summary description for Validator. /// </summary> [DefaultProperty("ValidationType")] public class Validator : System.Web.UI.WebControls.CustomValidator { public Validator() { } private ValidateType _validateType; [bindable(true), Browsable(true), Categ…
Last reply by Robby, -
-
- 6 replies
- 1.1k views
There has to be a simple answer to this. I created a user control called ctlAuditDetailExpert in VB.Net. I can manually add it to a parent windows form successfully. The goal is to allow the user to add new instances of cltAuditDetailExpert at runtime. I attempted to add the user control as follows Sub Test(lpName as string) Dim ctl as New ctlAuditDetailExpert with ctl .location = New Point(50,50) .visible = true .show() .name = lpName end With End Sub The code run fine, no error messages but the newly added user control is not seen on the parent form. What am I missing?
Last reply by tverney, -
- 2 replies
- 1.4k views
Hello I am very interested in creating controls or extending .net controls that have office 2003 appearnace to them (shadows, borders, colors, fading, etc). Obviously, VB.net does not give its users controls that have the same appearnace so I have to turn to the Windows API. Since I am a newbie at this I am wondering what library(s) and functions I can use to get the same appearnce as office 2003 controls? Where should I start and what should I do with the API? Thanks
Last reply by IngisKahn, -
-
- *Experts*
- 2 replies
- 896 views
Is it possible to search a dataset for a particular table, and if you find that table to remove it? Mike55
Last reply by Nerseus, -
-
- 2 replies
- 901 views
Anyone know how to access a label control (or whatever it is) through the control it is associated with? Example: <label for="email">Email Address</label> <input type="text" id="email" size="20" maxlength="50" /> I want to change the font color of the label associated with the control when the user leaves the control.
Last reply by Diesel, -
- 2 replies
- 1.2k views
Hi, I am having a problem with converting some c# code to vb.net. I have this code FServer.OnConnect += new TIdServerThreadEvent(TCPServerConnect); FServer.OnExecute += new TIdServerThreadEvent(TCPServerExecute); FServer.DefaultPort = 6000; FServer.Active = true; I can convert all the other code, but I dont know how to handle delegates so I cant get it to work. I tried putting RaiseEvent at the start of the code, but didn't work... Any Ideas Thanks Dan.
Last reply by Illusion, -
- 1 reply
- 705 views
Hi all, I have a datagrid binding to a datatable, and this datagrid has checkbox on each row. upon checking specific checkboxes on each row, those rows will be updated in the DB and for those rows that do not have the check, they will be deleted. Dim ckbDelete as CheckBox Dim Conn as new sqlConnection(.....) daDelete = New SqlDataAdapter("", Conn) For intCount = 0 To dgTest.Items.Count - 1 ckbDelete = dgTest.Items(intCount).FindControl("chkDelete") If ckbDelete.Checked = True Then 'If any checkbox is checked, then execute the following command and transaction. With daDele…
Last reply by kahlua001, -
- 3 replies
- 1k views
Hello, I am trying to adapt MS code: http://support.microsoft.com/default.aspx?scid=kb;en-us;308042 to store a picture in a mysql database. I keep getting this error: An unhandled exception of type 'System.InvalidOperationException' occurred in system.data.dll Additional information: Update requires a valid InsertCommand when passed DataRow collection with new rows. and it selects this line: "da.Update(ds, "MyImages")" here is my code. Dim con As MySqlConnection Dim connString As String = "Server=192.168.254.7;username=me;password=nopeeking;database=test;persist security info=true;compress=true;pooling=true" con = New MySqlConnect…
Last reply by trend, -
-
- Administrators
- 6 replies
- 1.2k views
In the ASP.NET environment using VS.NET, there is a WebControl Appearance Property called CssClass that I have always been curious about how to use. (Similarly, the Properties for things like the <BODY> tag include Style elements.) I searched all of this forum, but only found one instance of someone asking about CssClass. I went to MSDN's site, and I was able to find what CssClasses are for and how to create them, but not how to use them in my ASP.NET classes using VS.NET. Are there any good links out there that I could look into for tutorials or examples? Could someone tell me in a nutshell how to use this property and how to create the CssClass? I assume it …
Last reply by joe_pool_is, -
-
- 2 replies
- 732 views
What i mean by putting a filter on a textbox is i want my textbox to show this : (___)___-____ for the phone and that it stays there when the person enters their phone number. Can some one help me pls.
Last reply by Igloo, -
Does anyone know how to set or retrieve information from a Security Digital card or a CF card ?
Last reply by Jedhi, -
- 1 reply
- 743 views
i want to make it so, that when an error accurs, the people get redirected to an error page, and that the error is being send to me. in the web.config file i added: <customErrors defaultRedirect="error.htm" mode="RemoteOnly" /> in the global.asax i added: Sub Application_Error(ByVal sender As Object, ByVal e As EventArgs) 'Fires when an error occurs sendmail(Server.GetLastError) End Sub with the function: Dim mail As New MailMessage mail.To = """name"" <email@email.com>" mail.From = """ Error "" <email@email.com>" mail.BodyFormat = MailFormat.Html mail.Priority = MailPriority.High mail.Subject = "Error Report - "…
Last reply by stustarz,
-
Who's Online 0 Members, 0 Anonymous, 73 Guests (See full list)
- There are no registered users currently online