|
darkelv wrote: else they won't be able to copy and paste it
Since when has understanding code had anything to do with copy/pasting it?
led mike
|
|
|
|
|
Pete O'Hanlon wrote: You don't actually expect me to write your complete solution for you do you?
Perhaps you could post him a filet-o-fish.
led mike
|
|
|
|
|
I like that one.
|
|
|
|
|
Yeah...
Biography SoftWare Developer In bsa city courier company in bangalore
Location India
Sadly, that explains a lot.
Here, give him this code:
;edoc nwo ruoy etirW .eerf rof pleh ew,krej edur a hcus eb t'noD
I'm going to become rich when I create a device that allows me to punch people in the face over the internet.
"If an Indian asked a programming question in the forest, would it still be urgent?" - John Simmons / outlaw programmer
|
|
|
|
|
|
thank you .
this problem is solved by using stored procedure.thank you for giving idea
regards
hselabo.
|
|
|
|
|
Can we have gradient effect on form's back color?
Thanks
|
|
|
|
|
You can put a bitmap on the background, with a gradient.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Just wanted to know if there is any way to change the drop down arrow of the combobox in windows application using VS 2005 IDE
Sadaf
|
|
|
|
|
Hi All!
I found very interesting problem:
I need draw over complex form witch contains
many standart controls like panels, buttons and etc
and my own controls.
I found way how to do it here:
http://www.thescripts.com/forum/thread500651.html
but using timer is not good for me, rapid interection requires.
Maybe you now way how to solve this task.
Thanks for all!
|
|
|
|
|
What if you place a form over the top of the existing form, make it transparent, and draw on that ?
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Yes, it is posible,
But how to process Mouse and Keyboard events?
I do not see simple implementaion.
|
|
|
|
|
Hello all,
i have set tabpage's backgroundimage property a particular image (design time as well dynamic/runtime), when i switch to that particular tab, whole page gets flickered.
Can we have some solution to stop this flickering that should not repaint entire things frequent time?
Help me out.
Thanks
|
|
|
|
|
Helloo..
I want to use Query Builder that used in VS2003/2005 in my desktop(C#) application.
I have done some search but nothing usefull just tools...
Regards
Yes. CreatiVity withOuT limiTs
|
|
|
|
|
You're hoping to ship part of VS with your app ? That's not gonna work.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
|
I want to underline DataGridView column caption text when user click in it.
I tried
foreach (DataGridViewColumn dataGridViewColumn in grid.Columns) {
DataGridViewCellStyle dgvcellStyle = new DataGridViewCellStyle();
System.Drawing.Font font = new System.Drawing.Font(
dataGridViewColumn.HeaderCell.Style.Font,
System.Drawing.FontStyle.Underline );
dgvcellStyle.Font = font;
dataGridViewColumn.HeaderCell.Style = dgvcellStyle;
}
But got exception probably since debugger shows that
dataGridViewColumn.HeaderCell.Style.Font
is null.
dataGridViewColumn.HeaderCell.Style is not null.
How to fix ?
Exception details which occurs:
System.NullReferenceException was unhandled
Message="Object reference not set to an instance of an object."
Source="System.Drawing"
StackTrace:
at System.Drawing.Font..ctor(Font prototype, FontStyle newStyle)
at myapp.BrowseForm`1.QueryData(Kontekst ko)
...
Andrus
|
|
|
|
|
now i am using rdlc local report.thats why i use print function for printing report.
to display printer setup dialogbox i m using windows forms.
now in local it works perfectly,but when i publish the site,and run it,
it gives error.even when i publish in same local pc,also.
error and code below.
// --------------------------error---------------------------------
Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[InvalidOperationException: Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.]
System.Windows.Forms.CommonDialog.ShowDialog(IWin32Window owner) +3103234
System.Windows.Forms.CommonDialog.ShowDialog() +6
TMSPrintReport.Run() +116
TMSPrintReport.Page_Load(Object sender, EventArgs e) +1871
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
-----------------------------------error-------------------------------
----------------------------------code---------------------------------
followin is the function run()
private void Run()
{
Export(rep);
printDoc.PrinterSettings.PrinterName = PrnName;
if (!printDoc.PrinterSettings.IsValid)
{
// MessageBox.Show("Printer Not Found", PrnName);
pd=new PrintDialog();if (pd.ShowDialog() == DialogResult.OK)
{
PrnName = pd.PrinterSettings.PrinterName;
printDoc.PrinterSettings.PrinterName = PrnName;
}
}
psd.Document = printDoc;
if (!pd.PrinterSettings.IsValid)
{
if (psd.ShowDialog() == DialogResult.OK)
{
PrnName = psd.PrinterSettings.PrinterName;
printDoc.PrinterSettings.PrinterName = PrnName;
printDoc.DefaultPageSettings.PaperSize = psd.PageSettings.PaperSize;
printDoc.DefaultPageSettings.Margins.Left = psd.PageSettings.Margins.Left;
printDoc.DefaultPageSettings.Margins.Right = psd.PageSettings.Margins.Right;
printDoc.DefaultPageSettings.Margins.Top = psd.PageSettings.Margins.Top;
printDoc.DefaultPageSettings.Margins.Bottom = psd.PageSettings.Margins.Bottom;
// printDoc.DefaultPageSettings.Landscape = psd.PageSettings.Landscape;
}
}
m_currentPageIndex = 0;
Print();
}
|
|
|
|
|
HI
I have two forms called form1 & form2. Form1 contains one textbox & one button and Form2 contains one text box & one button. When I press button of form2 i want to get form2 textbox value into form1 textbox and form2 to be closed but form1 remains displayed with form2 textbox value.
|
|
|
|
|
|
Hello!
Is there any way to preview how my form and the controls on it would look like, before actually running it? I tried to visualize it in the designer itself by docking the other windows, but was just curious if VS 2005 had some 'Preview option' to view the form on the Full screen.
|
|
|
|
|
VS probably has a full screen mode, otherwise, that's precisely what the designer is for.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
in c# i created the first form as a login the second displays a buddy list once you login the first form is hiden using Form1.hide(); now on the second one i have a log out button that i want to close the second form and open the original first form not a new object i have everything done but reopening the first form. thank you if you can help
|
|
|
|
|
Gregory Bryant wrote: the first form is hiden using Form1.hide();
Gregory Bryant wrote: open the original first form not a new object
Form1.Show();
led mike
|
|
|
|
|
i am trying to open the first form from the second that does not work i get an error
An object reference is required but i dont want to creat a new object and i do not know how to get the orginal object from my second form
|
|
|
|