- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 2
- Posts with Downvotes
- 1
- Downvoting Members
- 2
23 Posted Topics
Re: int id; public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { string ID = "PA-"+DateTime.Now.Day+"-"+DateTime.Now.Month+"-"+DateTime.Now.Year+"-"+id; id++; MessageBox.Show(ID); } | |
Re: <asp:Menu ID="Menu1" runat="server"> <Items> <asp:MenuItem NavigateUrl="~/WebForm2.aspx" Text="Home" ToolTip="Home" Value="Home"></asp:MenuItem> <asp:MenuItem NavigateUrl="https://www.google.be/" Text="google" ToolTip="google" Value="google"></asp:MenuItem> </Items> </asp:Menu> | |
Hoi At the moment I'm learing Databases. this is some code that I'm using. The question that I have is, can I insert a row without ID. I mean that the database increase the ID number itself. Thanks in advance. command = new OleDbCommand(); command.Connection = connect; command.CommandText = "INSERT … | |
Re: Did you run it as administrator? Because I used to have the same problem. When I had run it as administrator all my problems where gone. | |
hoi I would like to learn how to work with databases. does anyone know a good tutorials or sites? because at this moment I know nothing about it. thanks in advance | |
Re: You need to make to change the image with a program like gimp. You need to make the background transparant. and than you delete all the white. You can watch some tutorials on youtube | |
hi I'm using visual c# express. I have 2 forms. form1 and SettingsForm. In form 1 there is a buttons for opening the SettingsForm. sending data from form1 to the settingsform is easy. I use a methode. But that don't work vice versa. because I made the SettingsForm into form1. … | |
Hi I want to save a txt file in a folder in AppData. Fist how can i make a folder in AppData. ""Environment.SpecialFolder.ApplicationData" I know that this exist, but how to use it now. when the folder is ready, how to save something in it. I'm using streamwiter. thanks in … | |
Re: You can use a timer to check the time every minute. in the time methode, you make am if function which the DateTime.now. | |
hi I get an error, "has the wrong return type". it has something to do with "tim1.Tick += new System.EventHandler(tim1_tick);" Help me please. [CODE] Timer tim1 = new Timer(); DateTime huidigetijd = new DateTime(); private bool CheckTim1Start; public Wekker() { tim1.Tick += new System.EventHandler(tim1_tick); // tim1.Enabled = true; enable == … | |
Re: I think [CODE] for (int i = 0; i < 25; i++)[/CODE] I needs to be [CODE](int i = 0; i <= 25; i++)[/CODE] | |
Hi I want to make an abstract method. But I always get the error " cannot declare a body because it is marked abstract." When I delete the return then I get the error than I need a return. can someone help me please [CODE] public abstract Graphics drawRectangle(Graphics drawarea) … | |
hi I want to write a program where I can load files into, for example XML. When the file is uploaded, I want to use the data that is in the file. can someone help me please. Thanks | |
Re: I learned programming with youtube. I think that it is the fastest way. | |
Hi This is a code for placing a few labels. Now, I have a problem with my grid. I want the 0,0 point in the upper left corner but at the moment it is around the middle. Can someone help me please? [CODE]import javax.swing.*; import java.awt.*; public class test { … | |
I have a very stupid question. I use a JToggleButton. now I want to know if the setSelected is true or false. thus an if function, but how to write one because I get errors. thank for your support [CODE]if(Btn2.setSelected() = true){ }[/CODE] | |
I'm trying to learn java. Now I want to test the buttons, but I don't understand the part of the layout. Can't I just write button1.setLocation(50,50); or someting like that ??? Thanks in advance. | |
I'm making a simple game. I want simultaneously go up and left. [CODE] Private Sub Form1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me.KeyDown ' If e.KeyCode = Keys.Z Or e.KeyCode = Keys.Up Then ' Me.PictureBox1.Location = New Point(PictureBox1.Location.X, PictureBox1.Location.Y - 5) ' End If ' If e.KeyCode = … | |
Hi I'm working on a project. i'm using c++ gui windowns forms. when people press the red cross, then the program need to do something before exiting the program. can someone tell me how to make this. what event I need to use. thanks in advance | |
I'm making a project in c + +. I am now creating help, so if you push a button or F1. but I do not know how to make this. can someone help me Thanks in advance jongen joeri | |
I want to read a bmp file in c. i can read the header but now i need to see het photo. the attachments is am exemple. [CODE]#include <stdio.h> /* We moeten een apparte struct aanmaken voor de Magic Number, anders krijgen we een foutieve waarde hiervoor.*/ struct MagicNumber{ unsigned … |
The End.