Didn't Select A Forum When Posted
May 2, 2011I submitted 2 questions but I forgot to assign it to a Forum.... Is there a way that I can find these posts and edit then and attach them to the right forum?
View 3 RepliesI submitted 2 questions but I forgot to assign it to a Forum.... Is there a way that I can find these posts and edit then and attach them to the right forum?
View 3 RepliesI am new to vb.net and I have looked at other topics. I cannot find the answer I need. OK I have a combobox named cboRaceDesc and five checkboxes (CkRaceAfricanAmerican, ChkRaceAmerican Indian, ckRaceAsian, ckRacePacificIslander, and ckRaceWhite). I was going to post an image, but I cannot.cboRaceDesc has two options...Hispanic and Other. If the user selects Other then they have to choose one of the five checkboxes or it will raise an exception when the record is being saved. I am assuming I would generate the code under the "save" button. I know I need to gather the following information in my code:
If cboRaceDesc.SelectedValue = Other Then
<I am not sure how to code the logic regarding the checkboxes>
<I know I need to use multiple else/else if statements>
<I know towards the end I would generate the exception>
End
Can anyone help me fill in the blanks or point me in the right direction?
it might help to change the forum name to Visual Basic .NET General Forum. or VB.NET General Forum maybe would help the vba and vb6 developers know this is not for them.
[Code]...
<edit on 10th March 2010.>
Changed thread type to QUESTION. I was then able to mark AS ANSWER the relevent post which now also immediately follows this post and so it is easier to find as suggested by forum user j2associates .
<edit> It is also my 3rd post in this thread, the 8th one up, of my posts, from the bottom ( for now ), as the forum format has changed yet again.I will leave the rest of this post( as is ) purely for historical reasons. I have been on these forums long enough to see 3 forum changes. <edit> 19th May, 2010> Link added to a video on the next line of text.
[code]....
I am trying to read a xml file that is posted online through my windows app. What I am trying to do is get a value of one of the elements and then set that value to a string in my windows app.
View 2 RepliesI have a grid view with a nested text box in it. I would like to turn view state off but the fact of the matter is when data is posted, the text boxes inside the gridview aren't available (there are no rows in the gridview on postback)I am using ASP.NET 2.0 so would this fall into control state, not view state?
Sample ASPX code of the gridview:
[Code]...
Control's information is not stored in the View State (for things like selected value and .text etc.)Control state, introduced in ASP.NET version 2.0, is similar to view state but functionally independent of view state. A page developer can disable view state for the page or for an individual control for performance. However, control state cannot be disabled. Control state is designed for storing a control's essential data (such as a pager control's page number) that must be available on postback to enable the control to function even when view state has been disabled.[URL]..
Im trying to create a small program using the "toaster popup effect". I have the working. My problem is , i have a basic webpage here ( http://www.pro-coders.com/latestthreads.php ) that displays all the recent threads thats created on my forum, so i want to make this popup when theres a new thread to alert the users.How could i code it to automatically detect if a new thread has been posted from the webpage ?
View 2 RepliesThis code is for 2008, 2010 and later versions of VB.Net as it uses an extension method.Please note: If you are using an earlier version ( or you do not like extension methods ) please see the next post.Here is the code I posted on Monday April 30th, 2012.>>Now you can specify the startRadius to be
View 7 RepliesI am testing to insert a record to the table from the form by button click event.Data was temporarily hard-coded for testing.There is data grid view opened on the form as well.When the button is clicked, the data was inserted in the data-grid.But after exit out, I don't see in the table.When I run the program, I don't see in the data grid view as well.
Dim newCustomerRow As CustomerLookupDS.CustomerRow
newCustomerRow = CustomerLookupDS.Customer.NewCustomerRow()
newCustomerRow.CustomerID = 123
[code]....
I get the following Error: when Using The program ... Didn't Used to happen before ...
This Is the Source Code :
Form2
Form1
I Have tried Different Stuff But none of Them work.
My project is like this. When I select from "TypeComboBox" and "BeanComboBox", the "PriceTextBox" will display the appropriate amount of the "Private PriceDecimal". But when I added the "Private SnackPrice", it will display only the 1st array, (0, 0) for both array. I try using "Select Case" but doesn't work. I don't know what the problem is. Or maybe it can't be done like this? One structure can have one array?
Private TransactionCoffeeSale(30) As CoffeeSale
Private NumberTransactionsInteger As Integer
Private SnackPrice(,) As Decimal = {{1D, 2D}, {3D, 4D}}
[code].....
I've tried to create a DLL injector for using it in a game but it didn't work for me, here's the code:
Imports System.IO
Imports Microsoft.Win32
Public Class Form1
[code]....
I wrote one exentension method for object. But the intelligence didn't display the method ?
[Code]...
it's about object binding, yes it's just a simple binding. but i don't know why it won't work.for summary, i will write about what i am doing:
1. i have one solution, and have two project in it. WaitressDataWin and WaitressDataObject
2. inside WaitressDataWin, i have 'waitressdata.vb' . this is my simple form , there are some basic textbox (waitress name, address, phone)
3. inside WaitressDataObject, i have 'waitressDataObj.vb' is where i put my object class, i have WaitressName property, WaitressAddress, and Phone.one of my property is like this, others are same except the name of course.
Private _WaitressName As String
''' <summary>
''' Gets or sets the Waitress Name[code]....
4. i create data source , that is object data source. i add reference so i can add my second project which is WaitressDataObject and set the WaitressDataObj as the data source.now i have datasource with three properties (WaitressName, WaitressAddress, Phone)
5. I bind my textbox, by dragging the WaitressName (in datasource) to my waitressname textbox .. so on to all my properties.., i also get bindingsourcecomponent, WaitressDataObjectBindingSource
6. then I put this code to my form load :
dim wdm = new WaitressDataObj
Me.WaitressDataObjectBindingSource.DataSource = wdm
7. done, it should've been worked, but it didn't , i don't know why.. , every time i fill one of my textbox, the properties didn't set the value, i put breakpoint in the 'set' part of all my properties but it never breaks anyway.. (the 'get' part is good, it read my property value when i load the form). so i just had problem in my 'SET' Part.
8. I think i had checked on my variable (word, case sensitive,etc), no problem.
My histogram report didn't show the data in the database.
View 2 RepliesI'm sorta newish to VB.Net programming, and in the program I'm working on (VB Express 2010, Windows 7) its as if everything has frozen. When I make changes to the code or the designer view, then run/debug the program, the changes don't get saved. For example, I put a random button on the form, saved it, ran it, and when I ran it, the button didn't appear.
View 3 Repliesim trying to learn ado from vb and i noticed some difference in the codes from the sites url...may i ask why the other tutorial didn't bother of using the functions open and close for the oledbconnection?
View 7 RepliesI'm beginner in Visual Studio 2008. I want to question why VS 2008 doesn't find toolbox input box.
View 1 RepliesOn Windows Phone 7 to get the current control one would use
FocusManager.GetFocusedElement()
Wherea on Winform it is just ActiveControl.Why use 2 semantics which is a nuisance for portability ? Is there any difference of behavior you can see between the two ? If yes that makes sense, otherwise that doesn't.
If i didn't place any date in the textbox ,system is capturing 1/1/1900 by default insted of Null.How can i get rid of this.
[Code]...
I have a little bit of trouble figuring out why I am getting these error messages. Here is the error messages and then the code will follow behind it.The code is taken directly out of the book "ASP.NET 2.0 Everyday Applications for DUMMIES". [code]
View 6 RepliesI am developing a web site in Visual Basic 2008 using .NET Frameworks 3.5 on an IIS7.0 web server and I am having a problem with a simple error page redirect. Furthermore I only have ftp access to the webserver in a web hosting environment. I am having problems with some errors and not others, mainly error 401 is the problem.<customErrors defaultRedirect="~/Default.aspx" mode="On" > </customErrors> this is the custom errors section of my [URL] file,
View 1 Repliestimes i have seen questions like, how can i search inside my threads or how can i search for threads i have started. I have found Beth Massi`s blog about searching msdn forums by using meta information. I have checked a few other sources about this and wanted to summarize this for anybody who is interested.
If you want to search for threads to which you have contributed use : meta:Search.MSForums.ThreadContributorUserName(Heslacher)
If you want to search for threads you have started :
meta:Search.MSForums.ThreadStarterUserName(Heslacher)
If you want to search for threads which are answered :
[Code]...
I'm supposed to make a game for a friend of mine, or for his site more specifically which has an IPB forum. He wants only users from his site to be able to use the game, so I need to make some kind of authentication so that only registered users can login. I have no idea how to do it and all research turned sour I'd prefer not to have to deal with cookies, but POST instead since I have a wicked awesome wrapper at my disposition
View 3 RepliesI found this source code for controlling mappoint in .net .Net confuses me so much.
What would it take to convert it back to VB6? The projects seem small in size, but I just dont understand .net[URL]...
I searched all over the this forum and did not find a section to ask my questions about VB6
View 2 RepliesFor those that are interested but have lost track of where we are about it Here the link for the update, your comments and suggestions[URL]...
View 1 RepliesI am using ASP.net, I know the basic of VB.net language, don't really want to use HTML, I did not use it since school. I was thinking to create a forum for my mates, I think I will need to create a database and try to play with SQL commands, I thought it should'nt be a lot difficult.
View 5 Replieshow? i need to delete a thread how do i delete it? i see no delete thread button
View 1 RepliesI started a little project to make it easier for me to post an image (screenshotby having the program output thehtm page which shows a thumbnail image, the URL, and the HTML text used to post the image here in the forus a question. I've set the name to "index" so that it appears by default rather than the former open browsing
View 4 Replies