|
hey there !
pls save me now.
i want to run this code below at run time : (after we load form already)
1. i have one text box that contain code below
dim Str$
for i as integer=0 to 5
for j as integer=0 to 5
for k as integer=0 to 4
str=i+j+k
listbox1.items.add str
next
next
next
2. one listbox for get the result
3. one command button for click to execute code in the textbox
i wait for all of ur reply 2me na . thanks in advance
regard from
spider anatha
|
|
|
|
|
I don't think you can execute code dynamically in classic VB. You can do it in VB.NET though.
Paul Marfleet
|
|
|
|
|
It can be done in VB.NET, but not VB6.
This is called "Dynamic code compilation[^]". Be warned, the concepts involved are not for beginners.
|
|
|
|
|
hi all,
I want converted from microsoft word multiple columns to single columns using vb.net.
which concept i will use .what tool i can use.
vbg
|
|
|
|
|
hi ,
I dont know how to delete the table in every page .pls tell me.. how to delete the table.. and then how to convert the single columns from multiple columns . using vb.net
anybody give me idea for me....
vbg
|
|
|
|
|
Try reading the Office interop library docs instead of flooding the boards.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I am trying to develop an application, regardless of it's function i need to do one thing. On the task bar, buttons representing the programs resize between two points, usually between the end of the start button (or quick launch) and the start of the tray (or language bar). What i want to be able to do is change these points, particularly the right most point, so that buttons resize between the left point and another point, leaving an unused space on the taskbar.
This may be a registry key or something, i have tried many google searches including those around desk bands but have not found exactly what i'm looking for. If anyone has any idea if this is even possible or has any experience in this field, please reply, think this is about the fourth time i've asked this with no response, even a simple, "it might not be possible" would be nice.
If a deskband is the only option can someone point me in a direction other than this site, cause the C# example here is laced with frustrating glitches.
|
|
|
|
|
The ANZAC wrote: This may be a registry key or something,
No, it's not. The TaskBar is made up of DeskBands between the Start button and the System Tray. Actually, the try is another type of DeskBand. The QuickLaunch icons sit on a DeskBand. The appication icons sit in another DeskBand. If you added something else to the TackBar, it goes on another DeskBand.
My point is that the DeskBands are self sizing, relative to the other DeskBands. The "start point" and "end point" are the ends of the bars themselves, not points on the TaskBar between which icons sit. In order to resize this area, you have to resize the DeskBand, within the limitations set by the DeskBand. For instance, with just the default DeskBand's on the TaskBar, you cannot move the right side of the application icon DeskBand. It's locked to the left side of the System Tray. You also cannot resize the SystemTray either. You can only move the right side of the application icon DeskBand.
The only way to move the right side of the application icon DeskBand is to add another DeskBand between the application icon DeskBand and the System Tray, and resize that band appropriately.
I don't have any examples, not do I know of any "good" ones. It's just going to take some research on your part to find them. I'd start with Googling "C# DeskBand".
The ANZAC wrote: think this is about the fourth time i've asked this with no response,
This is probably due to the fact that not very many people have any experience with the TaskBar. Support on this issue is going to be very sparse, no matter where you go.
|
|
|
|
|
yeh pretty frustrating. That's a decent answer thankyou. Finally someone responds. Ok will get into the research more, it's not an easy thing to track down and kill tho, a decent desk band sample that is. They are very sparse, evin in the more complex language forms, and virtually none exist in vb except for people suggesting a conversion of some dodgy c# one. Thanks again.
|
|
|
|
|
I have prepared a form in vb.net 2003. I have used a combo box & textboxes in that form. I used data adaptaer. A data Might not save in the table again. My back_end is SQL Server 2000. How can ido this?
|
|
|
|
|
Your question makes no sense. Presumably it has something to do with validation? Please try and explain yourself more clearly.
Paul Marfleet
|
|
|
|
|
PLease Provide me info on your post, and check your Spellings. what i can grasp from yourt statement , is that you dont want the data to saved again. i dont why, and i dont know when should that happen. please provide more info
thanks
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sudden your Face, but It sharpens your Understanding
VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za
|
|
|
|
|
hi All
Yesterday i have post this Question, but i was long. let me cut it short. i have a BLL Class that has my validation, from my vb.net Form. and i have created a Class Component which is my DAL with all SQl statement. i want to know how to take the validated data from BLL and use it as input into my insert,delete,update statements or Procedure into DAl.
please Post example code or Article. am using vb2003
Thanks
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sudden your Face, but It sharpens your Understanding
VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za
|
|
|
|
|
Goto www.asp.net and read the tutorials
Dan
|
|
|
|
|
hi,
i am working in vb.net. now i want remove the word table.. how to remove the all table in microsoft word.. using vb.net.
anybody pls help me.... tell me code...
-- modified at 1:48 Tuesday 2nd October, 2007
vbg
|
|
|
|
|
Do not post programming questions (use the programming forums for that)
That's what was written in big red letters when you were posting this programming question to the lounge.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
hi,
I'm having a problem on my project here regarding the deletion of selected row on a DataGridView. The DataGridView I have is connected with a DataSet in SQL.
I have my recent code here:
Dim selRow As DataGridViewRow = Table1DataGridView.Rows(Table1DataGridView.CurrentCell.RowIndex)<br />
Table1DataGridView.Rows.Remove(selRow)<br />
Me.Table1TableAdapter.Update(Me.SampleDataSet.Table1)
I'm having an error with the last line saying, "Update requires a valid DeleteCommand when passed DataRow collection with deleted rows."
I'm thinking of a way on how will I send a Delete Command to the DataSet to delete the row I selected on the DataGridView.
Hope anyone could help me here..
Thanks!
ange(",)8
|
|
|
|
|
My guess is that in your table1tableadapter you have a select command and an update command, but not a delete command. When using a tableadapter these sql statements need to be defined.
This is what MS help says:
If INSERT, UPDATE, or DELETE statements have not been specified, the Update method generates an exception. However, you can create a SqlCommandBuilder or OleDbCommandBuilder object to automatically generate SQL statements for single-table updates if you set the SelectCommand property of a .NET Framework data provider. Then, any additional SQL statements that you do not set are generated by the CommandBuilder. This generation logic requires key column information to be present in the DataSet. For more information see Automatically Generating Commands.
Hope that helps.
Ben
-- modified at 22:24 Monday 1st October, 2007
|
|
|
|
|
ok thanks.. I'll try to check this out and how it will work..
I'll just ask here again if I have some questions..
|
|
|
|
|
I wanted to read the article in following heading
Automaticaly Match and Select ComboBox Item
did everything as is on the tutoriaL. but when i type in the combobox it doesnt set the correct text in the cmbbox.text field..
I am using vb.net not vb6. i changed the VB.LEFT to Microsoft.Visualbasic.Left.
what may be the problem?
fire
|
|
|
|
|
firebladeiii wrote: I wanted to read the article in following heading
Automaticaly Match and Select ComboBox Item
Did you find it here? If so, do an article search to find it again.
firebladeiii wrote: I am using vb.net not vb6. i changed the VB.LEFT to Microsoft.Visualbasic.Left.
what may be the problem?
Find the article and post a message. See if the author responds.
"Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus
|
|
|
|
|
I have a web service project created using VS 2005(vb.net). I have a web method exposed that will be used by a remote client. I also want to fire the code in this method when the web app that exposes the web service starts (say from Application_Start in Global.asax).
Is there a way I can call this method from Global.asax?
Matt Melick, MCSE MCT
|
|
|
|
|
|
Thank you for the response but server.execute would not not be the proper way to access the public method within the service class.
|
|
|
|
|
sorry you did say webservice didn't you.... wouldn't you have to use an http call using either dotnet code or msxml dll?
you could also put the functionality into a dll. have your webservice reference that dll and your global.asax could do a load assembly to the same dll.
|
|
|
|