|
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()
|
|
|
|
|
If you're thinking of doing this, it's usually a sign that your design needs to be rethought out. You should never be creating data in your application out of the names of classes in your code.
|
|
|
|
|
I have installed Crystal reports Standard Edition with version 11.0, Can i add reference to Microsoft Visual Studio.NET 2005? If can, how can i add?
Socheat
|
|
|
|
|
hi, im new here,
say here's a list box with different items:
apple
54321
cookie
sos101
1111
from above there are 5 lines of items in a listbox,
how to do something like reading the number of the line?
like text1.text = "read line 3"
which the text1 textbox will appear cookie
how to do that?
Please Help,
Thanks.
Benny
|
|
|
|
|
You'd write something like this
text1.text = ListBox1.Items.Item(2).ToString() The array holding the items is zero based, which means the 3rd item is really the 2nd element in the array.
|
|
|
|
|
Thanks for reply
just want make something clear,
does the order of the item count from the top??
if yes, so the top one is 0, second one is 1, third is 2, fifth is 4?
|
|
|
|
|
that's correct. It's zero based indexing starting at the top. The last item will always be listbox1.items.count - 1 . Remember the minus 1 when working with listboxes. You can also check if a listbox has any item selected through:
if listbox1.selectedindex = -1 then<br />
'none is selected<br />
end if
Posted by The ANZAC : "WWBD, What Would Buffy Do?" : "I don't know man, she's stronger than me"
|
|
|
|
|
Thanks for your respond
i have another question,
I want to read the selected line with a text box, so I wrote:
Display.Text = JobList.Items.Item(LineNumber.Text).ToString
there are 2 textboxs: Display.Text, LineNumber.Text
and 1 listbox: JobList
but an error returned...
|
|
|
|
|
benny777ex wrote: but an error returned
What error?
Regards,
Satips.
|
|
|
|
|
uhh sorry I was wrong, resolved. Thanks
Benny
Im using:
Windows XP Professional SP2
Microsoft Visual Basic 2005 (.NET)
|
|
|
|
|
Ok . No Problem.
Regards,
Satips.
|
|
|
|
|
benny777ex wrote: I want to read the selected line with a text box, so I wrote:
Display.Text = JobList.Items.Item(LineNumber.Text).ToString
there are 2 textboxs: Display.Text, LineNumber.Text
and 1 listbox: JobList
hi I have another question,
Like I said, I want to read the selected line with textbox.
how to highlight the line in the listbox?
or is it possible to do some text change, such as make it bold,
or add some extra text like:
">>" + the line in the list box + "<<"
in the line in the listbox?
Please Help,
Thanks
Benny
Im using:
Windows XP Professional SP2
Microsoft Visual Basic 2005 (.NET)
|
|
|
|
|
use the following framework base class and it's functions
Imports Microsoft.VisualBasic.Compatibility.VB6
getitemdata
setitemdata
Sonia Gupta
Soniagupta1@yahoo.co.in
|
|
|
|
|
Thanks for reply
I had imported Microsoft.VisualBasic.Compatibility.VB6.
but... how to use them?
Benny
Im using:
Windows XP Professional SP2
Microsoft Visual Basic 2005 (.NET)
|
|
|
|
|
NO DON'T USE THAT PLEASE! That is a bad habit, to form a dependency on old vb6 methods, you should learn the new way because those methods will be phased out, most likely in the next edition. Do this:
me.listbox1.selectedindex = 'whatever number between 0 and listbox1.count - 1 or a variable
Posted by The ANZAC : "WWBD, What Would Buffy Do?" : "I don't know man, she's stronger than me"
|
|
|
|
|
Thanks again
I used your way, it works beautifully.
Benny
Im using:
Windows XP Professional SP2
Microsoft Visual Basic 2005 (.NET)
|
|
|
|
|
Your welcome, anytime.
Posted by The ANZAC : "WWBD, What Would Buffy Do?" : "I don't know man, she's stronger than me"
|
|
|
|