|
|
i want to create dynamic crystal report,
in which columns will be chosen at runtime
|
|
|
|
|
Iam having a table containing 7 columns which already have information. But I want to display a single field data/information present in the field into a grid
How to set this using Dataset?
Priya
|
|
|
|
|
Add a table to the dataset then in columns tab in this table add the number of columns u want. then in the grid put the datasource = the dataset and dataMember the table u have just created.
good luck
|
|
|
|
|
If iam giving like this means I will get all the columns to the datagrid.but I want only one or two columns then how to code that
Priya
|
|
|
|
|
If Iam giving thru the suggestion given by you,
Add a table to the dataset then in columns tab in this table add the number of columns u want. then in the grid put the datasource = the dataset and dataMember the table u have just created.
Then I will get all the data into the grid.but I want limited columns data i.e. only one or two columns/fields from the whole table
Priya
|
|
|
|
|
I suggest u change ur select * statement in ur stored procedure to select column-name. Then u will retreive only the specific column(s) u specified.
I.E. create ur adapter based on a select column-name & not select * then genertae the dataset and put it as data source for the grid.
Hope that works cause i cant think of any other way right now.
|
|
|
|
|
How to set an application Path in Connection string in VB.Net?
Example: Iam having a database of name xyz in D drive and the application is also present in the same path
Generally in VB6 We Can use App.Path but in VB.Net how to set this?
Priya
|
|
|
|
|
Application.StartupPath will give u the start up path
like:
Ds_Items.ReadXml(Application.StartupPath & "\" & "Item.xml")
hope this asnwers ur question
|
|
|
|
|
Priya_2007 wrote: Iam having a database of name xyz in D drive and the application is also present in the same path
Generally in VB6 We Can use App.Path but in VB.Net how to set this?
Hence you want to know the application path; then use
Application.StartupPath .
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
You don't set this path, you retrieve it. The equivilent in VB.NET is Application.StartupPath .
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Setting an Application path in VB.Net
Priya
|
|
|
|
|
Your header is the forum name, and your post looks like it would have made a good header. Do you have a question ?
What do you mean by ApplicationPath ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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
Please preview your forum before submitting it. I think you did not add your question properly.
You can modify your existing forums, preview it and resubmit again.
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Thank you. Harini
|
|
|
|
|
It is hard to figure out what you are asking because vb.net is the forum name.
When you create an application in vb.net you define an application name also an application path. If you app path is different than the original path and then you have to define one.
If your aim is to change the application build output path, you can change it from PROJET menu (Just simle go over the (application properties) and then click the (compile) section.
What a curious mind needs to discover knowledge is noting else than a pin-hole.
|
|
|
|
|
Hi everybody!
My question is either for VB 6 or .NET
Please it's driving me crazy...
So,since i have to play a flash video inside my application,i have tried the shockwaveflash component..but it still plays the flash animation inside the form..i have to play it like microsoft messenger does with animoticons(or winks whatever they are called in english..):you know,it reproduces them on the entire screen and just the animations,not showing the form..
how can i perform that?i have tried making the form transparent,but of course also the control contained in the form becomes transparent,when actually i want only the form surface to be transparent.
i don't literally know where to begin....
thank you very much in advance,you are my only resource left...
|
|
|
|
|
Are you sure they are flash videos ? I'd doubt it, I'd imagine they are animating directly onto the desktop.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 not sure,i am awfully sure.
i have personally extracted for backup purposes one of these winks...search on the internet for .mco files.they are stored as resource files in the msgslang dll (see under msn messenger folder),and are basically cab files with some xml files inside and the flash video in swf format.
but apart from that,the fact is that even if they weren't flash videos at all,i had to follow the way of the flash video because it is the only way i can imagine.
even writing a hta application and launching from my application,i have to use a flash file....
please help!
thank you again
|
|
|
|
|
Hi ..
I designed some forms as control .. I add that control to a form ,, I want when use Me.Close to colse the parent form not the control only
jooooo
|
|
|
|
|
Use the Owner property to get to the form.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 want to give som animations to the text.
is there ny code for this???
|
|
|
|
|
No there isn't any code for text animations but you can write your own code to animate the text. Text property has several atrributes such as font, font size, background color, location and etc.
What a curious mind needs to discover knowledge is noting else than a pin-hole.
|
|
|
|
|
May be you can add a flash object or google for Banner Makers softwares you can find a trail version somewhere which do ur job.
|
|
|
|
|
my project is online test in vb.net.i m new to vb.net. i want to knw if ill use 1 form for each quesion then there is going to be lots of forms.is there nyway to combine multiple forms with single form
bhawna
|
|
|
|
|
I don't understand what you are asking. Do you say that you will have forms in vb.net for each question you want to ask? If that is true, you don't need to use multiple forms. Just use a single form to display your questions. For each question there is no need to call another form. Sorry I couldn't help you, please try to be more specific about it.
What a curious mind needs to discover knowledge is noting else than a pin-hole.
|
|
|
|