|
hi all,
i want to hide the page footer in the last page.
how can i do this .pls give me the code
thanks
vipin paliwal
|
|
|
|
|
hi frendz,
here is ur frend needs help regarding:
How to call/add chart object in a powerpoint slide by using vb.net lang?
I did in the following way.. just observer it
1) I add a referance of powerpoint in my application.
2) create a new object of powerpoint application
3) create a new object of presentation and add it to powerpoint object.
4) create a new slide object and add it to presentation object.
.......
I don't know what is the exact implementation coz ground level learner in thhis kind of the concepts.
do the needful for me
wish me as All The BEST.
|
|
|
|
|
|
I am using the following code
Dim con As ADODB.Connection
Set con = New ADODB.Connection
Set rs = New ADODB.Recordset
con.Provider = "Microsoft.Jet.Oledb.4.0"
con.Open "C:\Documents and Settings\Administrator\Desktop\Sandy\db2.mdb"
rs.Open "select * from student", con
Set dg1.DataSource = rs
the error is The rowset is not bookmark
|
|
|
|
|
Reposting your question every 2 hours until someone gives you the answer you want, will only get you ignored...
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Try specifying the cursor location. Add this to your code:
Dim con As ADODB.Connection
Set con = New ADODB.Connection
Set rs = New ADODB.Recordset
con.Provider = "Microsoft.Jet.Oledb.4.0"
con.Open "C:\Documents and Settings\Administrator\Desktop\Sandy\db2.mdb"
rst.CursorLocation = adUseClient
rs.Open "select * from student", con
Set dg1.DataSource = rs
IIRC, Access databases don't support server-side cursors...
Dave Kreskowiak
Microsoft MVP - Visual Basic
-- modified at 11:58 Thursday 4th May, 2006
|
|
|
|
|
Dear Sir/Madam,
I am design an VB.Net application for a project and I am using data grid. Can I split the data grid to fixed a column and row heading like we do in Microsoft Excel?
What is the code and command for that?
Regards,
Sithy
|
|
|
|
|
Suddenly the error appear and i don't why....
Query Engine Error:'C:\Documnet ...... \Temp\tem_1edd79...etc.rpt
Help!
Militiaware
Faris Madi
|
|
|
|
|
|
Or you can try to find an answer on the Support forums at http://www.buisnessobjects.com[^]. After all, they wrote Crystal Reports.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
I have a MainMenu with multi MenuItem on it. I want to disable that menuitem when that childform open. And enable that menuitem when childform close. How can I control it. Plz help me Thanks a lot.
|
|
|
|
|
Build one function in MDI like this
Public Sub SetMenu(Enable as boolean)
mnuITem.enabled=enable
end sub
and call this from mdiChild
like me.Parent.SetMenu(True)
|
|
|
|
|
Dear Sir/Madam,
I posted my first question here yesterday and received some advice on that. But the result is still empty. For clarity sake: I designed a database application by using VB.Net as interface and SQL Server 2000 as back end data stored. My clients wants to use the local language, Khmer or Cambodian.
The data type for the text string is NvarChar. For example I want to search for a particular person by his/her first name:
I wrote the typical query statement but the result is empty. But when I double check the data stored in the table, there exists such name. I tried to use the "N" keyword, it's still doesn't work.
What is the solution to this situation? Will it support for searching using "like" key word?
Sithy
|
|
|
|
|
how can i call one form's procedure from another form.i have created an object of first form and call ,it works but the values in the first form is not changed.
|
|
|
|
|
I guess You are using VB.Net...
It wont update because they are different objects...
|
|
|
|
|
If they are both of the same type, you can make the method static, which would mean it can't access any member variables. Either way, you can use delegates to hook methods between classes.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Hi All
I am having a requirement to apply for a font (Frutiger 55 Roman) over my label on a windows form. I have installed this font and I couldn't see in the Font dialog box of the label property section during design time.
I have tried to apply this font during run time, but also I didn't get that font and instead Microsoft Sans Serif font has come.
How can I apply this new font over the label?
If any one has solution please share it with me.
Thanks in advance
Arunag
|
|
|
|
|
You can the get the available fonts in VS using
comboBox1.Items.AddRange(FontFamily.Families);
To change the font
label1.Font = new Font ("Courier", 10, FontStyle.Bold);
|
|
|
|
|
If your font doesn't show up, it's possible that it's corrupted.
Try going into the Fonts folder in C:\Windows and seeing if the font is listed, then double-click it to get a "test" page showing your font.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
hi there,
i am using xml data as the database. i am getting the output in xml format, i want that to be viewed in richtextbox and that should be arraged properly for better vision.
thanks in advance
bharath.s
|
|
|
|
|
I have a color picker control on a form VB.Net form. When I select a color it changes the color of the txt on a label on the form. How can I save this value to the underlying Access database? The form and it's fields are already linked to the dataset, table and database etc.
Basically I want the end user to be able to pick, then save say the company's color to the database.
1. What "type" field should the field in the Access table be?
2. What code do I use to commit the selected color's value to the database?
DSS
|
|
|
|
|
The type is an 32-bit Integer. You then have to get the value of the color your user picked as an Integer, then just save that value.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
how do I make richtextbox.savefile append to a file?????
|
|
|
|
|
RichTextBox1.SaveFile (any file you want)
E.g.: RichTextBox1.SaveFile (“C:\myfile.rtf”)
You can load it by
RichTextBox1.LoadFile (“C:\myfile.rtf”)
Regards,
Chatura Dilan
|
|
|
|
|
That overwrites the existing file.
I want to append to the existing file.
|
|
|
|