|
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)
|
|
|
|
|
I need call a window console application from the asp.net page; however, if I use the impersonate in the web config and use the administrator as the impersonate user, when we call the application, the system would raise a error. How to solve the problem? The detail information as below:
1) Window Console application (Call the Excel to generate a report as the Excel format)
2) CallBatch.aspx (create a process to run the window console application using the impersonate
<identity impersonate="true" userid="<Domain">\<administrator user=""> Password= />
3)Set the permission for the Excel DCOM component.
-- modified at 5:58 Friday 6th July, 2007
|
|
|
|
|
Why can't you just move the code from the console app into your code behind. You want to run this on the server, right ?
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 )
|
|
|
|
|
Yes, we could move the code from the console app into the code behind; as your said, we need run it on the server as well. On the other hand, even if we move the code, the same permission problem still happens.
|
|
|
|
|
Hi all,
Please help me ..
I want count a perticular word in one sentence or strig.
using VB 6.0
Thank u..
|
|
|
|
|
|
i have a string variable that contain form name.using that formname i want to call the form in the application.Is it possible?. can any one help me?.
|
|
|
|
|
Dim d As New Form<br />
d.Name = "formname"<br />
d.Show()
|
|
|
|