-
- process kill
by clint 2
- 14 Replies
- Last post
by ReneeC
- Hi guys
can you help me out here
if I do a
Process.Start( "c:\program files\super mp3\smrpro.exe" )
smrpro opens in the middle of my form........
how do I reposition it, or dock it....and how do I kill it
Process.GetCurrentProcess.Kill()......just kills my project
any help please
cheyenne
-
- DateTime and am I going crazy!
by leshay
- 14 Replies
- Last post
by nobugz
- Hi
I have spent several hours with this problem. I am using VB 2005 fully updated for Vista and SP1. I am located in the UK. My Regional and Language Options are set for UK only - settings are: English (UK), short date = dd/MM/yy, long date = dd MMMM yyyy and time = H:mm s with AM/PM settings as default (no other settings for AM/PM anyway.
After initial trials and tribulations in tha
-
- Need Help Please
by MitchMc
- 10 Replies
- Last post
by ahmedilyas
- I am currently making a program which fixes errors with Disk Clean-up which some computers encounter.
Which means editing the registry, Would anyone know a code which i could use to delete a section of the registry.
Anyhelp would be amazing!
Mitch
-
- Drawing a line one pixel at a time Itwas verry helpfull tanks
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
-
- Put quotes around selected text
by MorrisonRenfroe
- 2 Replies
- Last post
by MorrisonRenfroe
- Hello, I am brand new (2 days) to VB 2005 and have a question.
I would like to be able to select text in a Rich Text or standard Text box, and then press a button (use a shortcut, use a pull-down menu, etc) and put quotes around it.
For example I would like:
This is a string
to become
"This is a string"
Ideally I would like to do this in as few lines as pos
-
- Changing starting point of a Panel
by guanzhao
- 6 Replies
- Last post
by paoloTheCool
- Hi experts,
I understand that the starting poing of a panel is at the top left hand of the panel. But is there a way to change this starting point to the centre of the panel to make it like a graph paper
Thanks
-
- How to develop good knowledge in C#?
by Saradhi.
- 7 Replies
- Last post
by Budgeteer
- Hi,
Can you please help me in my case
How to overcome in C# (just now have started learning C#)
Am new to C# as well as development
-
- Unable to start debugging on the web server.
by Dgrumbli
- 14 Replies
- Last post
by denish1
- I have been working with Visual Web Developer 2005 Express in file mod and have had no problems. I created a site in IIS which is running and working for aps code. I have asp.net 2.0 installed on my system and appears to be set up for the new site. When I try to run a file from VWD I get the following error message.
Unable to start debugging on the web server. Unable to connect to the web serve
-
- .Net Publishes a Setup file, deploy and manifest File; what do I really need?
by BobS777
- 1 Replies
- Last post
by BobS777
- Hello,
I am new to .NET and still trying to find out exactly what to give to my customers
When I publish an windows application project, I get:
a project folder that contains both a .deploy and a .manifest file
Two application manifest files--one that has a version number on it
setup application file
I noticed that if I strip off the .deploy, the file becomes an executible and ru
-
- VB Express (INKEY$) function.
by ss4steve
- 11 Replies
- Last post
by Spidermans_DarkSide - VSIP
- I have just finished writing my first VB Express program (Sub Search). I often found myself wanting to do an INKEY$ function as I used to do in Quick Basic.
I want the program to pause, and wait for me to hit a keyboard key... then to analyze that keystroke, and branch-off to various points.
I have seen references to such a capability (keydown & others) but have not been able to decode
-
- determining activerow in Spreadsheet Web Component
by Jon1s
- 14 Replies
- Last post
by js06
- hi, i can't determine the active row using this web component there doesn't seem to be an activerow /activecell command to return that integer does anyone know how i've got this but it always returns 1 no matter what row i have selected
Code Snippet
Dim i as integer i = Me.AxSpreadsheet1.ActiveSheet.Cells.Row Thanks! P.s Does anyone know of any good information on this componet
-
- Scheduling a procedure
by asalcedo
- 11 Replies
- Last post
by asalcedo
- I need to run some code at a certain time.
I can do a While loop controled by a Time variable, but I think that that is too inefficient.
What is the best way to do this
I have something in mind like the Application.OnTime of VBA.
Thanks,
Antonio
-
- Using Microsoft SQL Server 2005 Compact Edition and C# Express?
by Scalpel78
- 1 Replies
- Last post
by Figo Fei - MSFT
- Are C# Express and SQL 2005 Compact Edition compatible I've installed the SQL 2005 CE, but can't see the SQL provider in Visual C# Express GUI. Have anyone out there tried these two together
-
- csv to binary?
by Wibs2
- 5 Replies
- Last post
by Wibs2
- Hi, I am trying to convert a comma separated values text file to binary. What I have is a text file containing 256 numbers like so: 6,6,6,7,7,8,8,9,9,10,10, etc What I need is a binary file containing 256 bytes, so when I open it in a hex viewer it reads: 06 06 06 07 07 08 08 09 09 0A 0A etc I have tried staring at this problem, but it doesn't help at all. I just can't think whether I am trying to
-
- images
by clint 2
- 7 Replies
- Last post
by clint
- I have just received some pics.....when I view them via windows picture and fax viewer..they fit the screen perfectly.....
but when I view them thru my vb app...they are far too big.....
how can I correct this without having to resize each pic individually
thank you in advance
clint
-
- DataGridView + Image Selection
by obrienkev
- 5 Replies
- Last post
by obrienkev
- Hi,
I have an ImageColumn in my DataGridView.
I have run a query to return 'myCmtPosID' from 'myComments' table.
I then want to check if 'myCmtPosID' matches with 'myPosID'. 'myPosID' is a column on the DataGridView.
My code below gives a "ContextSwitchDeadlock" error.
Why is this
Thanks.
Code Snippet
private void myDataGridVi
-
- bound Picturebox Doesn't Immediately change! Nobody helped so far!
by perpetual_dream
- 5 Replies
- Last post
by perpetual_dream
- Hello,
In my form I have a bound picturebox and a textbox. The Textbox data changes immediately appears after I update, yet the picturebox changed data doesn't appear unless I reload the form (This means that you can the see the picturebox up-to-date data only once). What am sure that the problem has either to do with the binding of a Image field to a picture box with bind object or Pictur
-
- Threads in vb.net
by GlennZarb
- 2 Replies
- Last post
by Carsten Kanstrup
- I have a vb.net program. I have a reference to a dll. When one of the dll's event fires I want to insert some text in a list view. The problem is that when doing so this error occurs: Cross-thread operation not valid: Control 'listview' accessed from a thread other than the thread it was created on. Can someone help me. What can I do.
-
- Publishing my software
by David Ison
- 7 Replies
- Last post
by Priyank Vaish
- Hi All,
I have created a little utility to update some files on colleagues machines, however when I try and publish the program it works on my machine but will not run on anyone else's.
What I am trying to achieve is that they click on 'crog.exe.' and it works!
It seems to be publishing with all sorts of files such as .manifest and exe.config etc...is there any way of me getting rid of al
-
- counting words in text box.
by Green Lantern
- 14 Replies
- Last post
by ReneeC
- I'm trying to count instances of words in a text box and display the count number and word in a listbox. Here's what I have now:
Private Sub SortUp()
Dim source As String = txtData.Text
Dim WordList As String = ""
Dim result As New System.Text.StringBuilder
Dim parser As New Regex( "\b[a-z]+\b" )
source = source.ToLower
txt
-
- Vanishing Graphics on program form
by guanzhao
- 14 Replies
- Last post
by guanzhao
- Hi Experts,
Currently I am having problems related to created graphics vanishing from my program form after another program form overlap my graphics. Is there anyway to fix this bug
I have declared Graphics object (Graphics gr;//Declared in public class) in public class so as to call upon the method FillEllipse at another event handler as the input parameters for FillEllipse are upda
-
- The Registration key you entered is not valid
by Weston Hutchins - MSFT
- 14 Replies
- Last post
by abade
- Recently after the release of Visual Studio SP1, we've seen an increase in the number of customers who are unable to register they copy of Visual Studio Express. This is caused by the following actions:
1 . Customer Installs Visual Studio
2. Customer Registers Product but does not enter activation code
3. Customer installs SP1
4. Customer attempts to
-
- VB express, "Exclude from project"?
by plinko
- 5 Replies
- Last post
by nobugz
- How does one exclude a file from a project in VB express In the C#and C++ versions a right click on a file in the solution explorer will give the option to exclude a file. In VB express, the only option is to delete it, which will delete the actual file. Am I missing something
-
- C# Express Limitation?
by ByteTheApple
- 6 Replies
- Last post
by ByteTheApple
- I am running C# Express on Vista Ultimate. I discovered what looks like a limitation of C# Express. I created a Windows application with a main form. I created another form that I call from the main form by declaring an instance variable and assigning a new instance of the second form. However, if I put public properties and members on the second form, I can't see them from the instance variable o
-
- accessing the appearance settings
by Cameron Kloot
- 5 Replies
- Last post
by Andreas Johansson
- hi, how would i be able to find out what color scheme the desktop is set to the one where u right click on the desktop then properties- windows and buttons then the default blue, green or silver. i would like to find out which one it is set on. thanks