-
- How to make an object move?
by BPA-
- 6 Replies
- Last post
by sidhussim
- Hey,
I am making an application and i have two buttons. One on top of the other. When the top button is clicked i want the second button to move down about 100 pixels. What would be the code for the button to make this happen I have tried some i know and found some but none work.
Thanks
-
- one click deploy and file positions
by salvoc
- 9 Replies
- Last post
by ReneeC
- I wrote a vb2005 express app that open an oledb connection to an access db trough a connectionstring defined in the sub main()
Module ModMain
Public dbcon As New System.Data.OleDb.OleDbConnection
Sub Main()
Dim Main As FrmMain
Dim connstr As String
Try
Main = New FrmMain
connstr = "Provider=Microsoft.Jet.OLEDB.4.0;User ID=Admin;
-
- Receiving WMI configuration error. SQL Server System Configuration cannot be executed due to that
by I Mrus
- 14 Replies
- Last post
by richard12345
- Hello PPl,
I am getting this error again and again.
The SQL Server System Configuration Checker cannot be executed due to WMI configuration on the machine mymachine Error:2147749896 (0x80041008).
I uninstall all version of Visual Studio 2005 just kept Microsoft .NET Framework 2.0. Still I am getting this error when I am running SQLEXPR.exe to install the SQL Server 2
-
- How can I unload forms unused in VB.NET 2005¡ì=
by Emanuele74
- 2 Replies
- Last post
by Emanuele74
- In VB6 to unload forms the command is "form. unload ". In VB.NET 2005 I can show them by "form. show "or "form. showdialog " but when I have to close them I can't use form. close () method because it happens my vb application end. What's the new command to unload form in VB.NET Example: Application start and load form1 Public Class Form1 ' This code is in form1 Pr
-
- Drawing a line one pixel at a time
by Nate879
- 14 Replies
- Last post
by ISAWHIM
- I want to draw a line, but I want to draw it a little at a time. Just like the DrawLine finction, but one dot at a time. How do I do this
-
- [Q] How to optimize listview item population from 6000 line file.
by John IV
- 1 Replies
- Last post
by jrboddie
- Just starting out w/ C# and programming, I'm attempting to bring into a listview a 6000 line text file. It's taking 1.5 mins or more on a oc'ed C2D at 3.6Ghz. Any suggestions on speed ups Thanks, here's the code:
// Attempts to add the listfull.txt file to the gamelist listview control.
System.IO. StreamReader objFile = new System.IO. StreamReader ( "listfull.txt&q
-
- How to disable c# Webbrowser's MessageBox or any dialog popup?
by MonsterSeal
- 4 Replies
- Last post
by MonsterSeal
- I have been trying to solve this but i have no leads at all. lets say the webbrowser goes to a website that has javascript error and it pops up an error messagebox regarding the errors in line number. How do i close or ignore this message box lets say the website has a javacript "alert" function shows "Hellow World", in the page and was displayed by the c# webbrowser. How i d
-
- Navigating Access Database w/2 Tables
by barmatt80
- 1 Replies
- Last post
by js06
- For some reason this just is not clicking with me. I learned most my programming in vs 2003, and now using vs 2005. I am not a fan of the wizards. As it creates the connections, table adapters, etc for the database. My problem is this: I am creating a program to display an employee and their boss's information. Employee's data is in one access table(employeetbl), and the boss's information is in a
-
- web browser controlled by a combo box? can this be done?
by DJDOHBOY
- 4 Replies
- Last post
by nobugz
- Im trying to making a very simple application for work that is a web browser for our 2 school websites for staff use at home, one a webmail site and the other a teaching website:
as there urls are quite long, and frequently get mistyped, i wanted to make a program that just had a drop down combo box with the description of the 2 sites in it and when selected the web browser would display th
-
- Detecting a root web?
by paoloTheCool
- 9 Replies
- Last post
by jrboddie
- I have a webbrowser made in Visual C#. I would love (really) to beable to display favicons. Favicons are located in www.example.com/ favicon.ico so if i were at www.microsoft.com/blablabla/dumdumdum/grgrgr.html (and no, thats not a real webpage :)) I would like it to be able to detect the www.microsoft.com part and add a "/favicon.ico" Im sure its possible using substring methods dete
-
- DataGridView does not have SetDataBinding?
by Zolomon
- 1 Replies
- Last post
by Figo Fei - MSFT
- Hello! I am wondering what the equivalent code for the DataGrid's SetDataBinding is for the DataGridView control. I would like to make this code work for a DataGridView: dgData.SetDataBinding(dataSet, null); I found some articles saying that I should use DataSource instead, but I don't find any examples of how I should write the code for what I want. Thank you for your help! Cheers, Zolomon
-
- Help!!! This code is killing my Computer.
by AngelinaPerez
- 14 Replies
- Last post
by ReneeC
- I am writing to kindly to ask you guys for help. I have been working with the lines of code below which merely locking up and disabling the computer: Private Sub Alert_btn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Alert_btn.Click Dim conn As New SqlClient.SqlConnection(My.Settings.CSTConnectionString) Try If conn.State <> ConnectionState.Open Th
-
- How to SUM column data
by Cesar Francisco
- 10 Replies
- Last post
by Cesar Francisco
- Hello,
The result of a query in TableGridView looks like this:
Location Number1 Number2
-
- Lesson #4 - Development
by ReneeC
- 14 Replies
- Last post
by ReneeC
- Sometimes the idea of using the debugger, can be intimdating to those unfamiliar with them.
This is a tutorial based in a standard piece a source code that we will supply for the purposes of this tutorial. We're going to make a cheap MP3 player. I hope this tutorial is highly interactive and constructive.
Needed Ingredients:
1.) A test directory with about 4 mp3 files. Make them as shor
-
- how to take screenshots
by sankramellow
- 5 Replies
- Last post
by Solitaire
- since i cant find a program that takes screenshots that isn't a trial or cost money how can i make a program take screenshots
-
- Create a UserControl
by Whoisit
- 14 Replies
- Last post
by Whoisit
- I am following a tutorial on how to open a directory and show all the pictures inside as thumbnails. Below is the last paragraph so I thought, for my purposes, I would try to create a control so that I can use it in other programs in the future. I have now done everything I need, what I don't know is how to make it a dll so can someone show me how I compile it to a dll please You can use this con
-
- Error - Show balloon tooltip in taskbar - 'NIF_INFO' : undeclared identifier
by johnny_no1_boy
- 1 Replies
- Last post
by nobugz
- Hello.I'm trying to show a balloon tooltip in taskbar (using NOTIFYICONDATA).I already have an icon and a menu of the application in the taskbar but I wan't to display a tooltip. In the following code:
Code Snippet
systemtray_icondata.uFlags = NIF_ICON|NIF_MESSAGE|NIF_TIP|NIF_INFO; I receive a error: error C2065: 'NIF_INFO' : undeclared identifier.Without "NIF_INFO" is work
-
- How to connect mysql database to visual basic 2005 Express project? And I dont know how to locate mysql database on my C: drive?
by VB-SQL learner
- 4 Replies
- Last post
by muath weld_ali
- Hello ,
Please help me. I have worked on Visualbasic 6 and access. But now I am trying to learn Visual basic 2005 Express with mysql server 5.5 and I just dont know how to connect databse to my visual basic project Even I dont know how to locate the databases I have created in mysql. And in vb express ....data source shows Microsoft sql server and access....but not showing mysql..why so what I
-
- DLL Questions
by Junior12
- 5 Replies
- Last post
by Junior12
- Hello I have been working on a large program and it got to the point where my code was getting hard to handle so I have been breaking functions down and placing them in to DLLs.
I made sure all of the classes were public so my main program could access them but here is the issue....
I add the math.dll to my references then I add:
static MathLib.MathApi mm;
mm = new Ma
-
- Drag and Drop & ListView issue
by Joh42
- 3 Replies
- Last post
by Joh42
- Hi all! I'm currently writing a small application that at one stage needs to be able to retrieve information regarding files dragged onto the main form. Ideally, I want to get a collection of files/directories as FileInfo's and DirectoryInfo's. My first question: - How would I be able to retrieve information regarding multiply files/directories, dragged onto the main form and/or its components (a
-
- How can I delete all but specific files in a folder?
by MorrisonRenfroe
- 4 Replies
- Last post
by MorrisonRenfroe
- Hello,
I would like to delete everything in a folder that is not a zip file, and I am not sure of what the syntax to use would be.
Any help would be most appreciated
Thanks
-
- Serial Port multithreading
by Carsten Kanstrup
- 14 Replies
- Last post
by nobugz
- Is it possible for YourCOMPort.BytesToRead and YourCOMPort.DataReceived to change while the subroutine, which handles YourCOMPort.DataReceived is still in progress
At very high data rates, the data may come in so fast that for example while previous data is being send to display by means of BeginInvoke new data are received. Depending on how Windows and .NET is build this may or may not course
-
- System.IO.IOException when trying to delete
by H4N5
- 5 Replies
- Last post
by Figo Fei - MSFT
- I have two listviews showing the images in two different folders. When I try to delete or move an image with System.IO.File.Delete() or System.IO.File.Move(), I get a System.IO.IOException, with the message: The process cannot access the file filename because it is being used by another process.
-
- Created two of the same Card Deck class - when I shuffle each deck I get the SAME results???
by tvance929
- 4 Replies
- Last post
by IsshouFuuraibou
- Hey everyone,
I created a theDeck class that creates a 52 card int List. Inside of this class I have a ShuffleCards method.
I simply want 2 seperate decks that I can then shuffle and then count a few cards out of each deck.
THUS returning two portions of two decks holding different cards. SOUNDS simple...but when I write the code below as I would think SHOULD work, I get two EXAC
-
- VB.Net
by kamal kim
- 2 Replies
- Last post
by kamal kim
- Hi all,
I'm having a new problem now. When trying to do a "Tab Order", I realise that there's so many highlighted numbers on the textboxes. Some I can't figure out whether they are duplicated numbers, which hide behind the main number. I wish I could show the print screen shot, but I can't attach it. Please advice.
rgds
Kamal