|
I want to create a package which captures the print command given by the user ie how much page is given for printing,which PC has given the print command,wheather it is color or black and white etc.if anybody knows it plz let me know,thank you.
coolsatty
|
|
|
|
|
|
Dear All...!
Is there anybody know, how to make the form that cover all windows feature such as start buttom, tray and windows tab.....?
Thank you
Best Regards,
Ahmad Rifai Yusuf
modified on Saturday, February 02, 2008 7:09:11 AM
|
|
|
|
|
Yes, but why would you want to??
What you're asking is a VERY large project. Explaining it in a forum post is really not possible. It would be more like an entire book.
So what little part are you having a problem with?
|
|
|
|
|
How to create Windows Scheduler to data collection program as well as using a Timer control.
|
|
|
|
|
Did you even look into the suggestion Steven gave you or did you just reformat his answer . You really have to do some of the work yourself.
Windows sheduler is part of the operating system - look in the help file and follow the examples!
A timer control is part of VB.net and can be used to create a scheduling application. Check out the help file, search on this site, try google for vb.net timer control.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
am new to VB.Net. hope i can have a friend to take me through.
Then also, i was tring to ConsoleReader in my java assignment but anytime i compile it gives me an error. ConsoleReader console = new ConsoleReader(System.in); any help
|
|
|
|
|
We're all pritty friendly and helpful here, as long as you don't take the P!$$. We will happly help you resolve issues and offer advice, but do not expect anyone to do your work for you.
With regards the Java question, you would be better to ask it in a Java forum.
Steve Jowett
-------------------------
It is offen dangerous to try and see someone else's point of view, without proper training. Douglas Adams (Mostly Harmless)
|
|
|
|
|
Hi everybody,
I am creating IAMR project.That project need Auto scheduler to enable automatic/unattended data collection during night hours.How to create the windows scheduler in vb.net.Give me your ideas to about this concepts.
|
|
|
|
|
You could aways use the Windows Scheduler to launch your data collection program or what about using a Timer control.
Steve Jowett
-------------------------
It is offen dangerous to try and see someone else's point of view, without proper training. Douglas Adams (Mostly Harmless)
|
|
|
|
|
This parameter of Database connection string is pointing to my local drive like C:\Invoice\myData.mdf
on teh development machine. How can i change this to reflect the hosting server path?
t.aransiola
|
|
|
|
|
This parameter of Database connection string is pointing to my local drive like C:\Invoice\myData.mdf
on teh development machine. How can i change this to reflect the hosting server path?
|
|
|
|
|
This is just a guess, but have you tried a UNC path? e.g. \\HostingServer\CDrive\Invoice\myData.mdf
Steve Jowett
-------------------------
It is offen dangerous to try and see someone else's point of view, without proper training. Douglas Adams (Mostly Harmless)
|
|
|
|
|
Hi all,
How can Read the Error Line number from an Exception without using ex.message.substring.
Thanks
Dana
|
|
|
|
|
AFIK its a single string not a collection of strings like ina textbox so you can't read the line number.
|
|
|
|
|
Hi,
for Exception exc:
1. exc.Message does not contain a line number
2. exc.StackTrace contains a multi-line string with the stack trace, which may or may not
contain linenumbers (depends on where the problem is, the amount of debug info available)
3. may have an inner exception where the actual problem occured
4. exc.ToString() returns a string that contains all available information, including the
info on inner exceptions
If you want to extract a line number, you will need to perform string operations,
such as IndexOf() and SubString().
Luc Pattyn [Forum Guidelines] [My Articles]
This month's tips:
- before you ask a question here, search CodeProject, then Google;
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get;
- use PRE tags to preserve formatting when showing multi-line code snippets.
|
|
|
|
|
Hi,
Can we have a common exception handler for any error accured in any form?
Just like we have in asp.net i.e. Global.asax, in that we can write common code for any error that accurs through out application.
Help me out.
Thank you.
|
|
|
|
|
Yes, I wrote my own error handler which when my program captures an exception, I then pass it to my Exception handling class, which includes the option to email details of the exception as well as present a friendly message to the user.
Steve Jowett
-------------------------
It is offen dangerous to try and see someone else's point of view, without proper training. Douglas Adams (Mostly Harmless)
|
|
|
|
|
Take a look at the ApplicationDomain.UnhandledException event.
|
|
|
|
|
As long as you're using this just for display purposes, it's OK to do. Realistically, you should catch the error as close to the possible source as possible so it can be properly handled (cleanup, retries, etc.) since that's the only place where you will actually have any meaningful context around the error. Don't use a global exception handler like this for anything other than unhandled exceptions.
Scott.
—In just two days, tomorrow will be yesterday.
—Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai
[ Forum Guidelines] [ Articles] [ Blog]
|
|
|
|
|
I am developing an application using VB.Net. There are two pages in my application:
1. First page is a search results page.Search result is displayed in a grid. First column of the grid is User Id which is a linkbutton. On click of some User Id it will redirect to selected user details page.
2. Selected Users Details page is second page. This page contains 5 tabs. Body of each tab contains a link called Back to Search Results.
On click of this link i want to redirect to search results page. Search results should be displayed without hitting the server again.
Please help me to solve this problem using javascript or vb.net code...
|
|
|
|
|
Hii ,
How can we disable the sort feature in datagridview in windows application or the functionality shouldnot work at runtime ?
How can we hide the edit icon on Row header -> ????
How to hide the * at design time of datagridview ??
Thanks & Regards ,
|
|
|
|
|
Disable the sort feature as follows:
<br />
For u = 0 To 11 'number of columns<br />
DataGridView1.Columns(u).SortMode = DataGridViewColumnSortMode.NotSortable<br />
Next u<br />
With regard to questions 2 & 3:
Set all 'AllowUser'-functions in the properties window to False.
Good luck.
|
|
|
|
|
hi all
i m working on a richtextbox. let me explain my problem
the richtextbox contains some text. now i create a form that provides printing facility to print the contents of richtextbox (i have certain reason of doing so.)
when it comes to provide the page range (page to - from) how can i handle that. i tried to control it by properties but it shows the wrong printing result. how can i determine the total pages, (some how i manages to get this) but the page range is a problem to me.
can some one guide me
thanks in advance.
help everyone
Falling down is not defeat...defeat is when u refuse to get up...
|
|
|
|
|
I have created a project which has one control which accepts certain media files like .mpg, .avi, .pps (power point viewer), .swf (Flash file), .jpg etc.
Now what happens is once I run that executable (my project) and browse certain file and open them.
After that for all those files, which I had opened, default application was set my project executable.
Means when I directly open .pps file, my project executable is get opened.
I think my project has set certain attain attribute/settings in windows.
Anyone has any idea to remove this settings?
Thank you
|
|
|
|