VS 2008 RichTextBox The Proper Solution?

Jun 20, 2009

I want to display some text for a user - blocks of text about "vendors" - that can be scrolled.

I might want the first vendor to be a different color - or be bold.

I might want certain fields in the "text blurb" about each vendor to be bold - or underlined - or a different color.

In VB6 I would have used a RTB - would that still be the solution??

View 4 Replies


ADVERTISEMENT

Vb 2008 Not Getting In Proper Way?

Feb 13, 2011

why vb 08 help are not getting in proper way. instead getting help for vb 2005 which is not compitable with vb 2008. i m user other vb 8 user must be facing similar problem

View 9 Replies

VS 2008 Proper Syntax To DELETE?

Dec 21, 2010

Is this the correct syntax to delete a record from a dataset? [code]

View 4 Replies

VS 2008 Proper Use Of Resources For A Class?

Jun 8, 2010

I am not sure of the proper, or best, way to use Settings and Resources. For now I use the default project wide My.Settings and My.Resources. I have a class that I would like to reuse in other projects, so adding project wide settings or resources in each project doesn't sound proper, nor does creating constants and variables within the class itself.I'm guessing there is a way to give a class its own resource file, and maybe even settings file, but I'm not sure how to do it. I tried adding a resource file with the same name (but with .resx extension) and I got a weird error saying I was trying to edit a resource that is apart of another project. I continued, but it didn't seem to be what I wanted and I wasn't sure how to access that new resource.

View 3 Replies

VS 2008 Exiting The Event In The Proper Time?

Sep 19, 2010

I had designed a simple form with Groupbox and some checkboxes (colors)where I need to program the following :When I checked one checkbox in this collection I need the previously checked checkbox to be unchecked and the new one to be checkedbut what I'm getting is not like this where after writting the following code :

Private Sub obj_checked(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles chkred.CheckedChanged, chkblue.CheckedChanged, chkbrown.CheckedChanged, _
chkgreen.CheckedChanged, chkwhite.CheckedChanged, chkyellow.CheckedChanged

[code].....

View 1 Replies

VS 2008 How Many Proper Payloads Server Received

Aug 24, 2009

I took a look at System.Security.Cryptography.MD5 class about using a checksum for a UDP program i am making.Basically i want to use it, to ensure the server is receiving what the client sends it, in a way that the server can make note of it receiving properly without having the client keep track of how many proper payloads the server received. The reason i need a checksum is because the client is sending a random hex payload, so i cant have the server predict what it should receive the same way as i have it working with the sequence number.I dont fully understand how i could implement this to my code. I believe i should make a public property in my packet class, but im having trouble implementing it with the way i coded my program. [code]

View 39 Replies

VS 2008 Proper Way To Pause/resume A Thread?

Oct 6, 2011

I have a thread running on my application that checks a database every so often to decide whether or not to update nodes in a treeview.

Each treeview node represents a document and I have an open button that opens the document for the user.

When the document is opened, I wanted to suspend the thread that refreshes the node list until the document is closed.

I have MyThread.Suspend and MyThread.Resume. But the document viewer is on another thread.

I created functions for suspending/resuming the thread in the application. I have delegates in the viewer to call those functions from another thread. But I'm still getting an Error. "Thread is not user-suspended. Cannot be resumed" or something of the like.

But I realize that Suspend and resume are obsolete functions, so what class or objects should I be looking into and if it didn't take up too much of your time, a small example as well?

View 6 Replies

VS 2008 - Displaying Proper Columns In Console Game?

Jan 17, 2010

I'm making a console game that shows some data:
#: Item Name Item Slot Cost Item Price
in that order. The thing I want to do is to make it come out in nice even columns...but I can't seem to make it do that. It comes it out in nasty uneven rows that don't look attractive...

Basically, here's what it looks like now:
1. Sword Slots: 2 Price: $40
2. W. Stick Slots: 4 Price: $1
I want to get each column to line up nicely with the other (since I control the size name).

View 9 Replies

VS 2008 Proper Way Of Working With Percentages And DataGridView And Dividing By Zero

May 31, 2011

What is the proper way of working with percentages and DataGridView and dividing by zero..In my code I am attempting to divide two numbers, sometimes one of the numbers is zero..Then I need to add a column to my datagrid, I think i need it to be decimal? So i can sort it later. I had it as a string and everything worked fine excpet i couldnt sort properly.[code]If I change column to Double it handles it fine, then i am not sure how to read the value as a percentage?

View 12 Replies

Adding Proper Number Of Pictureboxes To Array Control [VB 2008]

Aug 10, 2009

My application has no static number of pictureboxes. I want to add picturebox to array control.

[Code]...

View 4 Replies

VS 2008 Proper Syntax To Identify A Text Document For SAVEAS Method?

Dec 10, 2009

Using Excel Automation classes I am seeking to save an Excel file as a delimited text file. The examples given in the MSDN library refer to versions older than Express 2008 with (apparently) different syntax options for FileFormat.Based on the snippet shown, I get a COM exception error (800A03EC). Other variations produce the same error.

Am I improperly applying the Automation features?
Imports System.IO
Imports Microsoft.Office.Interop

[code]....

View 2 Replies

SHDocVw.ShellWindows Not Giving Me The Proper Result For The Internet Explorer In Windows Server 2008?

Jun 18, 2009

I found one problem Windows Server 2008. please refer the following code. it gives me the "ieplorer.exe" while i am running this code in XP or 2003, but while I am running this code in Windows Server 2008 it is not giving me the proper result. it gives me Explorer.EXE" insted "ieplorer.exe".before run this command you have to add reference of shdocvw.dll in your project. i am using the VB 6.0

Dim IE As SHDocVw.InternetExplorer
Dim MainIE as SHDocVw.InternetExplorer
Dim sws As SHDocVw.ShellWindows

[code].....

de my MainIE Object will set to my Previously stored handle( In TmpStoredHandle) . Does anybody know that how can i get the existing IE(Opened Internet Explorer) detail with the help of SHDocVw.ShellWindows in Windows Server 2008? with this API i can get all the opened windows with Its handle

View 1 Replies

VS 2008 How To Add A Project To Solution

Aug 15, 2010

Actually, I've been able to add the project, but I don't know how to execute the load command (Form1_Load) from the original solution to the added project. Additionally, there is a .DLL file that is needed to run the new project

View 1 Replies

.Net 2008 Cable Direct Solution?

Nov 1, 2009

I am having trouble getting the total due for businesses to calculate correctly. Especially when I run the program and alter the amount of connections or the number of premium channels.

[Code]...

View 4 Replies

VS 2008 Changing Solution/Build Name?

Sep 16, 2009

How would I change the Solution/Build name? VB saves the project in a folder, how would I change the name of the

-Folder
-Solution File
-Finished EXE

WITHOUT breaking the project?

View 6 Replies

VS 2008 Combining Projects Into A Solution?

Apr 6, 2011

As far as I know , it is possible to combine projects into a solution . So , lets say we have 3 projects . Each project has a starting form , lets call them SF1 , SF2 and SF3 .What I would like to ask you is how can I write code in order to have both the solution and the partial projects , working . You see , the solution (which as far as I know will also be accompanied by a new project) has to have a starting form ; lets call it SF0 .A) First of all I'd like to know how can I call a partial project from the solution itself .B) What code do I have to write in the partial projects in order to keep them running correctly when they are separate (that is not part of the solution) . I am asking this question too , because as I guess , there has to be code in SF1 , SF2 and SF3 (into buttons) that lead back to SF0 , but

View 3 Replies

VS 2008 Get Settings Value From Another Project In One Solution?

Apr 19, 2012

i have one project that manage my database connection (DBServer) and one project as the main system (MainSystem).In DBServer I store all my connection data that i already managed to my.settings (ServerName, DatabaseName, connectionString, etc).

View 2 Replies

VS 2008 Why Use Multiple Projects In One Solution

Dec 8, 2010

I've been doing some lite coding over the last couple years so I'm no where near where a lot of you already are. So my code tends to be organized in the standard beginners format... one project per solution with one executable (*.dll or *.exe). So I have a bit of a "best-practices" question for you... Why use multiple projects in one solution?

[Code]...

View 14 Replies

[2008] C++ Win32 DLL And Included In Same Solution With VB

Jan 9, 2009

I would like to mix C++ Win32 DLL with VB in the same solution such as: [URL] It's just that I would like to reference the DLL with VB. In the example above:

[Code]...

View 1 Replies

IDE :: 2008 Solution Explorer Focus Colors

Mar 27, 2009

In the Solution Explorer window, is it possible to change the highlight color of selected items *when the form does not have focus*?For example, selecting a module in the Solution Explorer highlights that module's name in Blue, then when the focus is lost by moving to another window in the IDE, that blue highlight becomes a very, very light gray (on some LCD monitors in particular). I'd like to make that light gray a bit easier to see.Is this possible? I'm running VS2008 SP1 on Vista 64.

View 2 Replies

VS 2008 - Build Must Be Stopped Before Solution Can Be Closed

May 20, 2011

When the Visual Basic compiler (Vbc.exe) crashes, Visual Studio fails to detect this and becomes stuck in an inoperable state. The "Build" menu appears as it would if the solution were building, but the Cancel Build (Ctrl+Break) menu item has no effect. Trying to close the application or the solution gives the error:
"The build must be stopped before the solution can be closed."
I can't find any way to remedy this short of terminating the devenv.exe process and restarting Visual Studio completely. Is there anything quicker and less severe?

View 1 Replies

VS 2008 Meaning Of Icon In Solution Explorer

Oct 6, 2010

Some of my students end up with a different icon in the Solution Explorer when they create applications. An example is the attached Exam.vb icon, which includes a little arrow into the normal Form icon (see pic) . I am guessing it means it is linked some how. When the application is zipped and submitted, an error is thrown when I unzip it to grade it which indicates that the file in not part of the project, and it references the absolute address on the original application.Any idea what caused this and how can I instruct the students to avoid it in the future?

View 5 Replies

VS 2008 Sharing My.Settings Across Solution Not Just Project

Oct 9, 2009

It must be to close to the weekend, but I thought I read at some time an article of an easy way to have a common settings file for both application and user settings across a solution.

I currently have a Solution that contains 4 projects. Each of these projects need to access the same set of settings and be able to update the user settings. Is there a way to do this utilizing the My.Settings functionality?

View 2 Replies

VS 2008 Solution Compiles All Setup Projects On F5 Debug?

Feb 19, 2009

Just got a little quirk with VS2008 on 1 solution.When i press F5 to debug my solution builds the current project but then insists on building all my setup projects...

This only occurs on 1 of my solutions and it has 20 projects within it.

I've checked startup projects and it has no dependancies and is set to selected project.

EDIT: Right click and debug in new instance works fine

View 2 Replies

VS 2008 : Group The Elements In The Solution Explorer (Forms , Modules Etc)?

Oct 3, 2010

I would like to group the elements in the Solution Explorer (Forms , Modules etc) .Is this possible in the VB .NET Editor ?

View 5 Replies

VS 2008 Temporarykey.pfx - Delete The Folders In Solution Explorer Properties?

Jul 23, 2011

I know I can go to signing> and uncheck clickonce and assembly so I'll try that, but can I also just delete the folders in my solution explorer properties? I have not one but 3 folders in there --

[Code]...

View 7 Replies

[2008] Application Performance Explorer - Open The Solution In The Visual Studio IDE

Mar 25, 2009

Stupid question, but how do I get access to this Explorer? The says: To create a performance session for Windows client application:

(1) Open the solution in the Visual Studio IDE.

(2) On the <B>Analyze</B> menu, click <B>Launch Performance Wizard</B>.

(3) From the <B>Which of the following available targets would you like to profile?</B> drop-down list, select the name of the application that you want to profile, and then click <B>Next</B>. You can add more binaries later.

(4) Accept the default Sampling profiling method, and then click Next.

(5) Click <B>Finish</B>.


Only problem is that there is no <B>Analyze</B> menu in the IDE.

View 1 Replies

Proper Update And Delete Code For SQL Express In 2008 Express Edition?

Oct 3, 2011

I'm just using the default SQL Server Express in my vb 2008 express edition as my database server for my database operation. When I tried to update the records on my table I got a runtime error which indicates the error on this line 'myCommand.ExecuteNonQuery()'and it highlights a yellow background on it. The runtime error says "SqlException was unhandled: An expression of non-boolean type specified in a context where a condition is expected, near 'Number'. ".

Imports System.Data.SqlClient
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
Dim myConnection As New SqlConnection
Dim myCommand As New SqlCommand

[code]....

View 3 Replies

VS 2008 - Cant See The Form Design While Doing Double-click The Form1.vb On The Solution Explorer I Got Error?

Jun 14, 2009

why i cant see the Form Design?and when i double-click the Form1.vb on the Solution Explorer i got error:does anyone here encounter this probz before?how to fix this.. (should i reinstall vbnet?)

View 1 Replies

Opening A Solution File It Was Saying "The Selected Fiel Is Not A Valid Solution File"?

Mar 27, 2012

Till yesterday I was working fine with my Project.I din install anything new, am not trying to open my solution file with a different version also.Today when i tried opening my solution, it was saying

"The Selected Fiel is not a valid solution file"

"The Operation could not be completed.Unspecified Error"

Microsoft Visual Studio Solution File, Format Version 10.00

# Visual Studio 2008

Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "??E", "..Setup2Setup2.vdproj", "{600F8FB2-B9A9-4138-B7E7-FE7B39815CC1}"

EndProject[code].....

View 6 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved