Search:
Type: Posts; User: curt_c
Search:
Search took 0.04 seconds.
-
September 22nd, 2014, 11:43 AM
Hi,
Use can use the old VB6 style Msgbox. try
MsgBox("Always on Top!", MsgBoxStyle.SystemModal, "On Top")
SystemModal keeps it on top.
Curt
-
October 16th, 2013, 11:53 AM
Hi,
Several of the members of the DateTime structure are Int32 datatypes.
Look into varDate as the source of your problem
Curt
-
March 25th, 2013, 03:13 PM
try this
if (letterPos == -1)
{
pigLatin = pigLatin + " " + restOfWord + firstLetter + "ay";
}
else
{
-
February 13th, 2013, 12:48 PM
Hi,
I'm not sure if this applies. Just load the data into an array and copy to a range in excel
Imports Microsoft.Office.Interop
Public Class Form1
-
January 7th, 2013, 02:59 PM
Hi,
You could use arrays of controls. Try something like this.
Add 2 labels to a form then do this....
public partial class Form1 : Form
{
-
December 3rd, 2012, 02:59 PM
This is probably a better way to test which object is the sender rather than ==
if (object.ReferenceEquals(sender, button6 ) )
MessageBox.Show (sender.ToString());
else if...
-
December 3rd, 2012, 02:44 PM
Hi
try this
in the form designer set the click event for both buttons to the same function; in this case 'button_Click'
this.button6.Location = new System.Drawing.Point(243, 85);
...
-
September 4th, 2012, 02:46 PM
Hi,
This worked for me. What event are you using?
Private Sub CmbTruckTyp_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles...
-
August 13th, 2012, 02:51 PM
Hi,
Just use a NumericUpDown control and set the 'ThousandsSeparator' property to true
Curt
-
August 13th, 2012, 01:34 PM
Hi,
I'm not sure if this is what you're looking for. If you just want run a macro in a saved wookbook try this...
Dim ExcelApp As Excel.Application
Dim MySheet As...
-
July 13th, 2012, 12:02 PM
Hi,
After posting this I realised this would just give you a list of installed printers.
try this
http://www.codeproject.com/Articles/6069/How-to-Check-if-your-Printer-is-Connected-using-C
...
-
July 13th, 2012, 10:59 AM
Hi
try this
using System.Drawing.Printing;
using System.Diagnostics;
//
-
July 10th, 2012, 03:10 PM
Try
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
-
June 26th, 2012, 11:21 AM
Hi
Check out this link
http://www.vb-helper.com/howto_net_allow_only_digits.html
Curt
-
Hi,
Try this link
http://social.msdn.microsoft.com/Forums/en/netfxbcl/thread/dead0507-06f5-43e0-9250-a78437956bc8
Curt
-
Hi,
How many buttons are you creating on your form? if there's any delay it's probably from reading the database and not form creating the controls
Why don't you just use 2 variables to locate...
-
Is this what you're looking for?
Public Class Form1
Private myButton As Button
-
March 5th, 2012, 12:30 PM
Hi,
Set the 'ShowInTaskBar' property of your main form to False.
This will prevent the application from showing up in the
'Applications' tab in Task Manager.
If you want to prevent it from...
-
February 27th, 2012, 12:37 PM
Hi,
You can use the Convert Class and the BitConverter classes
int checkVal;
checkVal = Convert.ToInt16(String.Format("{0:F0}", pageByte), 16) ; //base 16
checkVal =...
-
February 8th, 2012, 03:17 PM
hi
Use the SetParent function in the Win32 api
or
System.Windows.Forms.Form.Parent in .NET
http://msdn.microsoft.com/en-us/library/Aa302340
-
January 30th, 2012, 07:40 AM
Hi,
try this
http://www.vb-helper.com/howto_shell_in_mdi.html
Curt
-
January 25th, 2012, 02:41 PM
Hi,
Are you refering to VBA?
Or maybe you had a reference to the Word com object.
vba ex:
ActiveWindow.Document.Close
-
January 19th, 2012, 01:10 PM
Hi,
try using the File Class
Imports System.IO.File
-
January 19th, 2012, 11:32 AM
Take a look at National Instruments Measurement Studio
http://www.ni.com/mstudio/gallery/19.htm
Curt
-
January 13th, 2012, 08:14 AM
Hi,
These examples are in VB, but it shouldn't be difficult to adapt the code to C#. I've always found it easier to create template files to work with rather than creating a new report file each...
|
Click Here to Expand Forum to Full Width
|