|
Not sure why you're trying to initialise it to be itself within the definition. If you're trying to do what I think, try:
<br />
Dim currentList as new frminYardTrucks<br />
currentList.updateList()<br />
|
|
|
|
|
hi everyone,
i use reportviewer to display my .rdlc report. this report contains multiple column. so i want to change the orientation of this report to "Landscape". How can i perform this task at runtime.
any help will be appreciated.
thanks in advance.
Rupesh Kumar Swami
Software Engineer,
Integrated Solution,
Bikaner (India)
|
|
|
|
|
System.Drawing.Printing.PageSettings pg = new System.Drawing.Printing.PageSettings();
pg.Landscape = true;
Sandeep S. Loray
|
|
|
|
|
Hello
How can I replace the origin of coordinate system in VB.Net want to st it in the center of form. Can you send me the code of this program.
Thank you,
Reza12
|
|
|
|
|
Hi,
if you need this in your paint handler, the PaintEventArgs offers you a Graphics
object, and that has a TranslateTransform() method that basically adds some offset
to all subsequent coordinates you pass to DrawRectangle(), DrawString()
and the like.
BTW it offers some other interesting Transform methods too.
|
|
|
|
|
Does anyone have an example on how to use the binding navigator control on a Visual Basic 2005 .NET form and make it behave like an Access data bound form?
Thanks,
Quecumber256
|
|
|
|
|
Bind the data source to the navigator control, then bind your textboxes and labels to the individual fields
"Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus
|
|
|
|
|
Hi i am displaying my records in datagrid...,
In that one month data's are displaying with the date...,
Now,Except those dates anyother date will be there in that month...,
It also want to show...,
Example:
june month have 30 days...,
But in my table 1 to 22 date and 25 to 30 date records...,
It will be display using query...,
Remaining 23 to 24 dates also want to show in that datagrid ...,
How to do that...,
Plz tell me...,
Magesh
|
|
|
|
|
Please do not cross post.
From what I understand your grid is failing to show 2 of the records you expected ? We can't tell you why, without seeing the code.
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 )
|
|
|
|
|
As was previously said, you should NEVER cross-post. You put the same question on three boards. Please read the forum guidelines. Also, please do not use text speak.
______________________
stuff + cats = awesome
|
|
|
|
|
Hi,
I would like to know how i can populate a dataset to listview in my windows form... i will be glad if i get some examples ....
sebastian
|
|
|
|
|
What information are you looking to put in your list? A list of all the Tables contained with your DataSet, or the specific contents of a specific Table contained within your DataSet?
|
|
|
|
|
hi,
thanks for your reply,. its a specific table from a dataset..
thanks
sebastian
|
|
|
|
|
OK - so you want a column in your table to populate your listbox. Lets assume you want the first column (column number 0). One way to do it would be ...
Dim strValue As String<br />
<br />
For intRow as Integer = 0 to myDataSet.Table(myTable).Rows.Count - 1<br />
<br />
strValue = myDataSet.Table(myTable).Rows(intRow).Item(0).ToString<br />
<br />
me.ListBox1.Add(strValue)<br />
<br />
Next
Hope this helps.
|
|
|
|
|
Hello There
I have created One window service and Installed on Server. Now from CLient Machine I need to access that Window Service and need to use one function inside the service. At the moment I have installed the service on client machine as well to test the object creation. But it always say cannot create Object error 429 .. Can any one guide me how to do this or is it possible ?
Thanks
|
|
|
|
|
Windows services are not designed to be used this way. If there is a function you need that the windows service has, it should probably be in its own dll and be shared across projects. If you want to be able to call a certain funtion you would have to use remoting or a web service.
hope that helps.
Ben
|
|
|
|
|
Hi there,
I know there must be a way from preventing an Application to be launched more than once, but how? Any help will be appreciated. I'm coding in VB.Net 2003.
Thanks, Werries
A programmer's life is good... or is it?? Ek dink nie so nie!
|
|
|
|
|
hi,this works in vb2005. hope also in VB2003
go to Properties of Project & click on application tab
now click on checkBox related to "Make single instance application"
hope this helps
Rupesh Kumar Swami
Software Engineer,
Integrated Solution,
Bikaner (India)
|
|
|
|
|
Thanks for your reply, but unfortunately VB.NET 2003 and VB.NET 2005 differ from each another in that area. I did find a nice sample of code to validate an instance of an application at http://www.vbforums.com/showthread.php?t=398309
Have a nice day.
Regards, Werries
A programmer's life is good... or is it?? Ek dink nie so nie!
|
|
|
|
|
|
Did you try creating a mutex? As far as I know, that is the general solution to such problem, and can be used in any language, since is supported by the OS through APIs. If CreateMutex() returns ERROR_ALREADY_EXISTS means there's an already running instance of your application.
Regards,
|
|
|
|
|
i want a report in 5x6 inch. for that i made a report in that size. i done my all other coding in vb.net. when i took print out of the report its comming in letter ize.
i made a custom print size in server properties of printer.
and set it as default printer. while checking the print dialog box i found out that its showing letter in paper size
Can any one help me with this... i am in great trouble...
my mail id is abhilash.asokan@gmail.com
HELP (F1)
|
|
|
|
|
hi abhilash,
there is a trick in my mind
increase page footer section height according to your page size.My mean is that,height of your report is 6 inch . Now increase the page footer height by 5 inch(since letter size paper height is 11 inch) & left incrasing area of page footer section empty.
hope this helps
one more thing .if you change your printer( by right click on report at design time) to dot matrix printer,then custom paper appear in print dialog box.
Rupesh Kumar Swami
Software Engineer,
Integrated Solution,
Bikaner (India)
|
|
|
|
|
not really yar.... the problem is that its a roll paper... so if u put too much footer means it will be wate of paper...
|
|
|
|
|
hi abhilash,
i have also face same problem beofre some time ago in Hotel project.so in place of crystal report, i use direct printing to Printer. if u r interested ,mail me. i can send you the code for roll paper printing .
Rupesh Kumar Swami
Software Engineer,
Integrated Solution,
Bikaner (India)
|
|
|
|