| |
Rating
Thread /
Thread Starter
|
Last Post  |
Replies |
Views |
|
|
by LuciWiz
Introduction
In my experience I found that people starting to learn a new programming language find it hard to accomplish this by reading “complicated and sophisticated” books written by the experts that developed or helped maintain the respective language. They find easier to...
|
|
5 |
4,145 |
|
|
by admin
The GIDForums™ Team is proud to announce that GIDForums™ is now among one of the very first Webmaster / Programming forums to offer a custom-written Visual Basic Syntax Highlighter BBCode ( bb code) to it's valued members and readers.
Please use the and tag pair to enclose any visual basic code...
|
01-Oct-2005 14:08
by admin
|
0 |
3,630 |
|
|
by BobLewiston
I tried to compile a Windows Forms Application in Visual C# 2008 Express with this source code from the CSharpSchool tutorial at Programmer's Heaven:
using System;
using System.Windows.Forms;
using System.Drawing;
namespace CSharpSchool
{
class HelloWinForm
{
static void Main ()
|
|
1 |
270 |
|
|
by BobLewiston
Why use delegates?
I understand HOW to use delegates, but in what situations would you actually use them? The examples I see in the literature are all in situations where the code could just be written without ever using them.
|
|
2 |
238 |
|
|
by fakepoo
Hello experts. I am trying to lock a portion of my code where I have 2 ArrayList objects and need to transfer elements from one to the other. I am having a problem in that after I leave the lock() block, the elements in one of my arrays have vanished. Like so:
ArrayList list1 = new...
|
|
2 |
376 |
|
|
by BobLewiston
In C# console applications, isn't there a simpler way than handling exceptions to just find out if a text file of a given name exists in the current directory? I'm talking about something along the same lines as the following methods:
create text file:
StreamWriter SW = File.CreateText...
|
|
1 |
468 |
|
|
by cgillopez
Hello!
I wrote an application to handle a joystick. It works fine if it uses the handle of the main window but it doesnt happen the same if the handle is the one of the component that contains the joystick's operation.
I mean:
main form handle: 15
component handle (which is inside the window and...
|
|
0 |
179 |
|
|
by fakepoo
I'm trying to create a virtual list control in C# like the example here, but I keep getting this build error:
The type or namespace name 'CreateParams' does not exist in the namespace 'System.Windows.Forms' (are you missing an assembly reference?)
Here is the code:
using System;
using...
|
|
2 |
1,134 |
|
|
by cgillopez
Hello,
Im trying to paint the movement i get from my joystick. I dont have any exceptions and the code flows by the paint line but in the form i only get a line from the initial point (0,0) --(form.width/2, form.height/2)
To do the poll from the joystick i have a thread.. it would be the problem?...
|
|
0 |
202 |
|
|
by BobLewiston
Is my understanding of code generation in WinForm apps correct?
When you create a program that features a single Windows Form using Visual C#'s Windows Form Designer, three source files are created:
1. program.cs, which:
.....a. does some preliminary configuration of the form and then launches...
|
|
0 |
196 |
|
|
by arestispartan
:D Hi
I am trying to open an Excel file for reading. However, I'm not sure what referecence to use in my c# project, and what the using statement should be. I have added the "office" reference to my project, but I can't use the Excel object to create new types e.g. the statement...
|
|
14 |
27,062 |
|
|
by cgillopez
Hello,
im a newbie with vb.net. Im trying to convert into vb.net a little program that uses an ocx component. The initial program is coded in C#:
axVitaminCtrl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axVitaminCtrl1.OcxState")));
i dont know how to do it.. thanks...
|
|
0 |
216 |
|
|
by BobLewiston
The concept of delegates (references to methods) per se is new to me (although I used function pointers in C years ago), and although the literature acknowledges that there are significant differences between delegates and the use of pointers to objects, I'm nonetheless a little confused by how...
|
|
0 |
144 |
|
|
by BobLewiston
Is there any way in Visual C# 2008 Express to override the formatting defaults? For instance, I want a single space before open parens when I'm passing arguments, but VC# won't let me do that.
|
|
0 |
131 |
|
|
by roidrage666
I try to access some controls from the DataReceived event of a serial port..
I get :
Control ‘X′ accessed from a thread other than the thread it was created on
I googled for a while, and I found this answer to the cross-thread probl.
private void Form1_Load(object sender, EventArgs e)
{
|
|
2 |
1,159 |
|
|
by sai56
I am using Visual 2008 C++ and Office, by using the method which taught in <<http://www.codeproject.com/KB/office/automate_excel.aspx>> to link one of the form of the project to Excel, it works. However, when I try to link another form of the same project to the excel ..it fails
It gives out the...
|
26-Jan-2009 07:36
by sai56
|
5 |
1,154 |
|
 |
by MrVS
Hi,
I have a C++ CLR class method that takes System::Byte *b as parameter argument. I want the CSharp caller pass a byte * to this function.
But in the CSharp prorgram, I only managed to create a byte array (byte).
Can anyone tell me how to convert byte array to byte pointer in CSharp?
Please...
|
|
1 |
688 |
|
|
by roidrage666
I'm using the SerialPort class for a GSM modem. On the DataReceive event I had used the 'e->ToString' where 'e' is a SerialDataReceivedEventArgs variable.
Last time that I tested it, it ruturned an msgbox with text 'System.IO.Ports.SerialDataReceivedEventArgs' and then an msgbox with the modem...
|
|
1 |
574 |
|
|
by complete
I know something about software engineering. I can write and run a program. But I would like to know
something about MACROS. I don't mean the ASSEMBLY language kind. I am talking about those programs that
you can use perform repetitions actions on another program. I am talking about those...
|
|
2 |
167 |
|
|
by nancycoder
I just recently changed my office location and my PC has been assigned a new IP address and new name. The webforms that I developed with VisualStudio.Net 2003 are now can be accessed only from my computer as localhost. but it cannot be accessed from any other computer in network/intranet even...
|
|
0 |
158 |
|
|
by BioHazard90
class MyProgram
{
static void Main()
{
int integers; // declare array
integers = new int; // size array
}
}
In which line is the array actually instantiated?
|
|
1 |
160 |
|
|
by not a banana
This is for C# actually, but it is basically the same...
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
|
|
9 |
438 |