|
They are all out looking for jobs.
------------------------------------
"When Belly Full, Chin Hit Chest"
Confucius 502BC
|
|
|
|
|
Christian Graus wrote: Where have the programmers gone ?
Lost in the void between the internet and reality, struggling to get back to one side or the other, trying to weed out the good from the bad questions.
|
|
|
|
|
It's called the "Apple Effect" - once you use an Apple, you have very little patience for - well - just about anything.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
google shows the code but it makes no sense!
|
|
|
|
|
beginneronly wrote: google shows the code but it makes no sense!
Don't create a new account.
This is the core issue. The code makes no sense to you. So, how would us posting the code, change the fact that you are clueless ? Seriously, without insult, if you don't have a damn clue, if the code you found with google makes no sense to you, then doesn't that mean you need to learn some basics so you can understand the code, instead of just asking for it again ?
Christian Graus
Driven to the arms of OSX by Vista.
Please read this[ ^] if you don't like the answer I gave to your question.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
|
|
|
|
|
|
I see now that you just changed your name.
So, read the article that I pointed you to, it explains the code. If you still don't get it, then either your teacher hates you, OR you're struggling more than he expected. Why would you spend months googling code you can't understand, and not talk to your teacher ?
Christian Graus
Driven to the arms of OSX by Vista.
Please read this[ ^] if you don't like the answer I gave to your question.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
|
|
|
|
|
Christian Graus wrote: Why would you spend months googling code you can't understand, and not talk to your teacher ?
Or at least an adult...
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
i am newbie to VB .net
I am working on Visual Basics 2005
I am creating a Vb form with user login details
i want to get the text entered in the textbox in to a remote server
so could anyone help me in doing this \
thank you in advance
|
|
|
|
|
I suggest you read the link in my sig. I also suggest that if you're a newbie, that you either talk to your teacher, or if you're teaching yourself, choose simpler tasks to start with. Of course you're not doing paid work, that would make you a thief, right ?
Christian Graus
Driven to the arms of OSX by Vista.
Please read this[ ^] if you don't like the answer I gave to your question.
|
|
|
|
|
Hey guys, i am currently working on a form that looks like this:
http://img291.imageshack.us/my.php?image=tbs.jpg[^]
When i click on any textboxes under Plan Code, the plan form will pop up.
When i click on a field in lbType, field will appear in my lbCode.
When i click on a field lbCode, i want to be able to insert information into the textboxes.
The problem i have is that i can only get the form to work for the first row of textboxes. My code looks like this -
Private Sub lbcode_selectchanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles lbCode.DoubleClick
addNewClientPolicy.TextBox1.Text = Me.lbCode.SelectedItem
addNewClientPolicy.TextBox17.Text = Me.lblText.Text
addNewClientPolicy.TextBox25.Text = Me.lbType.SelectedItem
End Sub
This means that everytime the plan form pops up, it will insert the data into the first row of textboxes (which are 1,17,25).
Is there anyway i can edit the code so that the information inserted into textboxes depends on which plancode textbox i click?
I thought it'd be rather stupid to create 7 plan forms for each textbox
Thanks in advance!
|
|
|
|
|
It sounds like you are looking for something like this?
Private Sub txtMyTextbox_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Textbox1.Click, Textbox2.Click, Textbox3.Click
Dim tmp As TextBox = CType(sender, TextBox)
tmp.Text = "New text for the textbox that was clicked"
End Sub
|
|
|
|
|
Hello all
I want to create very small windows apps without using windows forms and after finishing this application when i install this newly created win app it should add one more item in windows context menu i meas when we right click on desktop it shows contex menus so context menu for this app should be added in that right click context menu
any help how and where to start
waiting for your kind help
thanks
|
|
|
|
|
Context menu for what app??
|
|
|
|
|
Hi dave
thanks for your rep.
i think i have missed something. I want to add context menu item so for that do i need to create any programm in vb.net so after adding new context menu item user can rename it some thing like that
waiting for your kind rep.
have a nice day
|
|
|
|
|
I will not ask a third time. Add to the context menu for which app?
|
|
|
|
|
Try searching the articles. Here is one[^] I found that sounds like what you are asking for.
|
|
|
|
|
Hello sir
thanks for your rep.
You are very close i have tried this app and it's add context menu item but not on desktop it's only shows new menu item if i right click on any file or foler but this is realy going to helps a lot
thanks again
|
|
|
|
|
I have a solitaire game where I have 52 cards lined up in design view. I'm wondering (in design view) what to set the oledragmode, oledropmode, and dragmode elements to; automatic? manual?
What's happening with my code below is that I only want 12 hearts cards to be dragged to blank card positions on the right of the screen. However, all the cards drag and all cards, including hearts cards can only drop onto the 13th blank card on the right. Not the 0 to 12. Should I write some code to set or clear the dragmodes and what do I do in design mode?
I only want the first 12 cards of the 52 cards to be dragged; they are hearts cards and I want 12 blank cards on the right to be the hearts suit only. Pardon me; I'm new to this; Also Much appreciation in advance.
Private Sub Hearts_DragDrop(Index As Integer, Source As Control, X As Single, Y As Single)
Dim HeartsIndex As Integer
Image(0).Picture = Hearts(0).Picture
Image(1).Picture = Hearts(1).Picture
Image(2).Picture = Hearts(2).Picture
Image(3).Picture = Hearts(3).Picture
Image(4).Picture = Hearts(4).Picture
Image(5).Picture = Hearts(5).Picture
Image(6).Picture = Hearts(6).Picture
Image(7).Picture = Hearts(7).Picture
Image(8).Picture = Hearts(8).Picture
Image(9).Picture = Hearts(9).Picture
Image(10).Picture = Hearts(10).Picture
Image(11).Picture = Hearts(11).Picture
Image(12).Picture = Hearts(12).Picture
For Index = 0 To 12
For HeartsIndex = 0 To 12
If Image1(Index).Picture = Hearts(HeartsIndex).Picture Then
Hearts(HeartsIndex).Picture = Source(HeartsIndex).Picture
Image1(Index).Drag vbEndDrag
MsgBox ("You're right")
Exit Sub
Else
Image1(Index).Drag vbCancel
MsgBox ("You're Wrong")
Exit Sub
End If
Next HeartsIndex
Next Index
End Sub
|
|
|
|
|
I don't think there is a standard about whether or not you set a property at design time or if you do it in code. It's up to you. Sounds like you just need to play with the properties until you find what you are looking for. You need to make sure the properties are initially set when loading the form, which can be done either in the load event or set at design time. Then think about when these properties need to change during run time and code the proper events.
Is this what you were asking?
|
|
|
|
|
Yes, and thank you. However, I need to gather more info. I'm still a bit confused. I know I'd like to set the properties at design time and set them to remain that way throughout the entire program.
Here it is: 52 cards on left; 12 of which I ONLY want to match 12 cards on the right when dropped. 52 cards get randomized, and I pick out one by one those 12 cards and drop it on a spot on the right. It works. Now here is what is wrong: ALL the cards, including those 12 cards drop on the right; I was only allowing in my code in the IF statement that when one of the 12 cards of the heart suit on the left = the heart suit on the right, only those cards can be dropped, not every card of the other suits.
Second problem. Only the last position Hearts(12) on the right is taking cards. The rest of the 12 position won't take any cards.
Any idea on WHAT to set on those drag mode properties at design time? I've played around and have gotten nowhere.
Thank you in advance
|
|
|
|
|
I don't know if there is a way to do this or not but I would like to monitors any changes to a specific database table. The database in question would be Oracle.
I have done numerous searched on the net but either my search text sucks or there is no solution...
What I want is to have is an app that would do a check to see if the table has changed and if so it sends an email to a user.
The only thing I need to figured out is how to capture the edits/changes to the database table logic... Any suggestions?
|
|
|
|
|
|
VS.Net 2005
I am displaying data in a datagrid and it looks great.
I want to have 1 column be comment column, that is always editable.
I tried to use a TemplateColumn, EditItemColumn, TextBox implementation
But everything I read says I have to have an Edit Button for each row.
That will waist the time of the user to click on every column before they can enter data. Every row requires that data be entered, how do I set the entire column to be a textbox ready for editing?
Thanks, Chuck...
Chuck...
|
|
|
|
|
Are you using a DataGridView control? If so then each column has a ReadOnly property you can use.
|
|
|
|