-
- Creating smooth charts (anti-aliased) using mschrt20.ocx control
by Creative1
- 2 Replies
- Last post
by Martin Xie - MSFT
- Hello all,
I have the mschrt20.ocx control installed, and working fine. I have an object created (MSChart1) which is pulling data from some text files to draw the 2D line chart. Problem is, the titles and lines are very jaggy. Is there a way I can draw this chart using antialiased text and lines
Thank you for your time!
-
- webbrowser favorites
by clint 2
- 14 Replies
- Last post
by clint 2
- I am trying to add favorites to a combobox
but how do I save the combobox.items to my. settings, so they are there on restart
textbox1 .....displays url
button7 ....adds url to combobox.items
ComboBox1.SelectedIndexChanged.... navigates to url
Private Sub Button7_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button7.Click
ComboBox1
-
- Save different lines of text from a listBox to different files?
by MLyons10
- 14 Replies
- Last post
by jrboddie
- Hi, I have a listBox that a user would enter data in (text as opposed to files, etc.). I would like, when the user clicks the Save button for the application to save line one of text as "1.txt", line two of text as "2.txt", etc. Can this be done Here is the code that I have been trying to work out: using (FileStream fs = new FileStream(@"c:\projects\", FileMode.Creat
-
- How can I print to the output window?
by fatfreeamerica
- 1 Replies
- Last post
by nobugz
- I created a general win32 application and want to print out to the output window of Visual C++ for debugging, but when I use cout it doesn't do anything. Is there a way to print to the output window
Thanks.
-
- Saving a "Collection" from a ListBox or ComboBox
by paoloTheCool
- 4 Replies
- Last post
by paoloTheCool
- Is there a way to set a "Settings.Default.mylistbox" variable so that it will store the whole collection of a ListBox or ComboBox thanks, paoloTheCool
-
- myProject.exe in debug & myProject.exe in other folder
by killer7k
- 10 Replies
- Last post
by Tall Dude
- Hi To All , I have just finished a Project , This project.exe Was Located in Visual Studio 2005\Projects\myProject\myProject\bin\Debug I have Copied The myProject.exe into other folder to use it , so when i excuted i get erro from windows must close when i return to the first folder in debug It Lunched Normally !! What i am doing Wrong Thanks
-
- Delete statement works with one value only?
by js06
- 6 Replies
- Last post
by js06
- I have a delete statement that will delete a record based on the current record id value from the datagridview selected row. this works fine.
If i use the first name column it will not work
here is the first code
Dim customerID As String = Me .CustomerDataGridView.CurrentRow.Cells(0).Value.ToString
Dim con As New SqlClient.SqlConnection( My .Settings
-
- Right Click Copy Event/Ctrl-C event?
by Louis Cypher
- 3 Replies
- Last post
by Louis Cypher
- Hi guys, I'm new to programming. It's been going well so far. I was just wondering if there is an event handler for the right-click-copy/CTRL-C action. What I am trying to do is copy info to the clipboard, strip out what I don't need and be left with the good data. I can do all that but I'm currently using a button1_click event. I would like it to run when I just right-click-copy or CTRL-C. Any he
-
- Gobal imports. Is this possible?
by m.eisenstein
- 2 Replies
- Last post
by SJWhiteley
- Hi
Quick question, is it possible to have a global imports statment in a module which can then be used by all forms in the application instead of having to write an imports statment in every form.
e.g I have Imports System.Data
Imports System.Data.SqlClient
These are in a module, but are not referenced by the forms. Is there a way to publicly declare this.
Any help is apprec
-
- solution with several projects
by helsingfors
- 7 Replies
- Last post
by Squire James
- I made a solution containing different projects. I'd like to write a .vb file containing some functions which should be usable by each project in the solution. How can I do
Writing
Imports....
lets me import only a file belonging to that particular project, not a general file belonging to the solution...
Any ideas
Thank you
-
- Failed to open connection dialog
by Virrum
- 6 Replies
- Last post
by toltecman
- Hi, I installed SQL express on a computer yesterday, and when I try to open it today, I get an error that says Failed to open connection dialog - Could not load filer or assembly 'Microsoft.SqlServer.Express.ConnectionDlg' version 9.0.242.0 blbalbalba Strong nam validation failed. Hresult 0x8013141a. Can anyone help me with this
-
- Connect to Access database
by 123fred
- 14 Replies
- Last post
by IanP25
- Hello All and thanks to all who reply
New to VB 2005 Express and I want to add a connection to a access database. I get hung up on entering the correct connection string. Where should I look to help me supply the correct conection string
Fred
-
- StreamReader dont read " ¡¯ " this charecter, Can any one help me?
by Siddalingesh Hariharmath &
- 1 Replies
- Last post
by nobugz
- I got a problem
I have a file having a data " McMillan¡¯s " While reading it from streamreader u only read it as McMillans . i explain Why because after n and befor s u can
find a charecter " ¡¯ " differ from " ' " dont think that is an apostropy
streamreader will skip this character . Questing is how to get it just i want to replace that think to apostr
-
- Using TabPages as MDI - need some help please
by nbrege
- 3 Replies
- Last post
by ReneeC
- I am working on an application where I want to use a TabControl with multiple TabPages to display multiple documents. My application starts up with TabPage1 having a certain set of controls (a few textboxes, a datagridview & a button). I want to be able to have an event (a button click perhaps) cause a new TabPage to be added to the TabControl & be populated with the same controls, in the
-
- How can i chance/store a Value into Windows Registry?
by Peter Iwanowitsch
- 4 Replies
- Last post
by AgentCyber
- Hi, i need help for my app. I want to code an App that can chance or store new value into the windows registry. Which function or commands i need for Thanks all for the Posts.
-
- multiple installation of Visual Express products
by Beezgetz
- 5 Replies
- Last post
by nmadd
- Hello, I have Visual C # Express 2005 installed on my computer. Few months ago I Installed SQL Server 2005 Express Edition, and I had problems with restarting computer (installing components 1 of 3... for couple of hours), so I had to plug it off. Now I want to instal Visual Web Developer, but I stumbled on : " Before installing, you must uninstall any previous Beta, CTP or Tech Preview versi
-
- help, help me rhonda or anybody
by clint 2
- 13 Replies
- Last post
by cheyenne
- axmediaplayer1.url = my.settings.song1
song 1 is bound to textbox1
textbox1.text = c:\windows\media\somefile.mp3
this works fine............question is
how can I make it so the user only has to type in the name of the song
to the textbox.....instead of the full path
bearing in mind there are100 textboxes
thanks
cheyenne
-
- How can I get the timer to work?
by Solitaire
- 9 Replies
- Last post
by ReneeC
- I want the numbers from 1 to 9 to appear in the textbox with a half-second pause between each number display, but it just displays the number 9 all at once.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Timer1.Interval = 500 For x As Integer = 1 To 9 TextBox1.Text = x.ToString TextBox1.Refresh() Ti
-
- detecting lines,col., and how many letters are selected
by Cameron Kloot
- 6 Replies
- Last post
by Figo Fei - MSFT
- hi, i have tried to find this out myself, but i cant. so can someone help thanks
-
- Help with SaveFileDialog and OpenFileDialog please!
by chris441962
- 7 Replies
- Last post
by chris441962
- Hello.
Av got SaveFileDialog and OpenFileDialog in
my next project but am stuck.
Av not used SaveFileDialog and OpenFileDialog before.
I want to be able to open a files in a RichTextBox
and save files from a RichTextBox,
Just like you can open and save files with
Windows NotePad.
How do I do this
And How do I get the buttons to work In a
MessageBox
This is my code
-
- ManagementException was unhandled - Generic failure
by mattreade
- 2 Replies
- Last post
by mattreade
- I'm trying to list the installed applications using win32_Product.
Currenly running on Vista Ultimate.
After listing one application the program stops and I get the error "Generic Failure"
I have been able to to the exact same thing with services using win32_Services.
Any idea on what this error means or a better way to get a full list of the installed applica
-
- Limiting CPU usage
by
- 14 Replies
- Last post
by Evoluator
- Hi; I am trying to limit the percentage of CPU usage that my application consumes, I am wondering if there is any code to do this in VB Say as an example, I want to limit the CPU usage of my application to be %15.4, so when this limit is exceded the application pauses then and when below the limit the application would continue. Thanks for your help
-
- DropDownList
by JohnnyRo
- 3 Replies
- Last post
by spotty
- Why won't VB 2005 express let me add a DropDownList it is grey. Well i guess i don't really care why, i would just like to know how i can make it add it.
Thanks,
Johnny
-
- File Search
by djshades2004
- 5 Replies
- Last post
by djshades2004
- Hi Got This Code Below:
Is it possible to search for files no matter what extension.. And using a similarity search not a exact filename search,
Eg. pink floyd.mp3 and pink f.mp3 where both would be found
Imports System.IO Public Class FileSearch Inherits Form Private lstFilesFound As IList Public Sub New() MyBase.New InitializeCompone
-
- Application_Idle Event in Visual C++ Express HELP!!
by TheToefistJU
- 2 Replies
- Last post
by TheToefistJU
- Has anyon e out there sucessfully added an Application_Idle event to their project It's easy to have the designer automatically create event code for controls on forms, or the form itself, but I'm RIPPING MY HAIR OUT trying to get one to work for application events. I'm trying to make a loop a lot like a render loop. Here's what I have, but I know its totally wrong:
Code Snippe