-
- Playing the Percentages?
by Whoisit
- 4 Replies
- Last post
by AndrewVos
- Here's my code, dim decPercent as Decimal decPercent = (pbxResize.Width / pbxResize.Image.Width) * 100 tssSize.Text = "Percent = " & decPercent.ToString I get answers something like 41.7367345283 I want the answer rounded up or down, if possible, or just to display 41 . Thanks for looking Graham
-
- Copy image/graphic from panel/drawing surface to richtextbox
by CharlieRussell
- 8 Replies
- Last post
by prog.gabi
- I have the following code which allows freehand drawing using a mouse. It uses a panel as drawing surface. I will add the ability to load background images on the panel so can draw on that bmp.
Now after all the drawing, I want to ensure its one image, a bmp, copy to clipboard then paste it into a richtextbox on another form in the program.
Now attempting this I have tried several approaches
-
- How do i make pong controls???
by Midnightfoxkrissy
- 2 Replies
- Last post
by js06
- pong,i just need to know how to make the controls...i've got the pictures and everything...I also need to know how to make the AI...please help...
-
- Running an application on a server 2003 Thin Client - errors
by Thymen
- 5 Replies
- Last post
by Thymen
- Hi folks,
boy, do I hope one of you can help me out here..
I ran a test to find out if the application I am working on, also runs on a server with windows 2003. I access that server through a terminal (thin client).
I developed the application on a windows XP machine, and it runs without a hitch on all kins of stand-alone systems. However, if I run it via the thin client I
-
- Overwrite Picture Question
by MLyons10
- 9 Replies
- Last post
by nobugz
- Hi everyone. I was playing around with this, and I'm not sure of the best approach. I have a pictureBox that I load with a local file (C:\, etc...). It isn't an embedded resource or anything. I would like to have the ability to overwrite the image and repopulate the textBox, but it says that the file is in use. I thought that the pictureBox would just load the image into the pictureBox and close t
-
- .rc templates
by ancient sord
- 2 Replies
- Last post
by Bite Qiu - MSFT
- hello,
dose any body know how to create a new .rc template or down load one casue i want to add an icon to my programm but havent a clue how! btu i have been told that i need to use a rc file, so if some one can help me out it would be great
thanx, jt
-
- MFC42D.LIB
by DamonPeng
- 5 Replies
- Last post
by Peter Ritchie
- Is the library of MFC42D.LIB in C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Lib
I tried the source code using visual studio express and there are errors such as LNK1104 Cannot open file MFC42d.lib
I searched the library of MFC42d.lib, there are only two versions in the directories of C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Lib\AMD64\atlmfc a
-
- A couple of questions about formating a MessageBody
by MLyons10
- 4 Replies
- Last post
by MLyons10
- I presently have this code to generate a message body in an e-mail: theMailMessage.Body = "New Information" + textBox1.Text; I would like to include a line break, then another line of body, something like this: New Information ..... text here... text here... I have tried to work the code and have been reading a bit on the code above, but I can't find out if it is even possible to do this
-
- Build error on Creating Pages Walkthrough in Guided Tour
by Jeffrey569037
- 4 Replies
- Last post
by Jeffrey
- Just successfully created a Basic Web Page in Visual Web Developer from the Guided Tour. However, when continued to program the Caledar control, an error msg popped up indicating that
<b> Label1 Text = Calendar1.SelectedDate.ToString()</b>
is not a complete statement.
I could not see anything wrong with this line. The Label1 was underlined to show the error sourc
-
- Ugh...symbols not loading
by Critter Guy
- 14 Replies
- Last post
by einaros
- 'MyService.exe': Loaded 'C:\Documents and Settings\CS222\My Documents\Visual Studio 2005\Projects\MyService\debug\MyService.exe', Symbols loaded. 'MyService.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded. 'MyService.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols loaded. 'MyService.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727.4
-
- Questions / Answers : Evaluation Outlines !!!
by KAAU
- 14 Replies
- Last post
by KAAU
- I am developing an ITS System , in the Evaluation Stage , can someone help me with the outlines for developing the evaluation :
What is the most approciate way for storing the Questions and Answers : Multiple Choices , TRUE / FALSE , and any other Questions and Answers form
and ...
What is the best way for Representing the Questions and Answers to the Learner
and ... Finally
-
- mp3 music in applications
by hugas
- 2 Replies
- Last post
by ReneeC
- I need clear tutorial, how to play MP3 songs on my application. thank you!
-
- Drawing a graph?
by Nicky1676
- 14 Replies
- Last post
by ReneeC
- I've been trying to make a simple program that creates a graph, but I'm pretty much stuck at how to draw the graph. My friend told me I need to use a panel but I don't know if he's right. Also, right now I only need a simple graph (x and y axies) . So if anyone could steer me in the right dicerction that would be great! Thanks in advance!
-
- Few Questions.
by ShadowRayz
- 4 Replies
- Last post
by nobugz
- Well i got 3 questions.
1)
In Vb i used to do "Exit Sub"
how can i do that in C#.
2)
And in VB ( VB6 ) i used to do the WITH ("someting") code to write less code wen i use same COM
how can i do that in C#.
3)
How can i show MessageBox or do someting like Application.Exit(); in a Class.
thx ahead
-
- Getting extremely stressed out with attempting to install..
by xParadox
- 1 Replies
- Last post
by Weston Hutchins - MSFT
- Hi,
I've known about C#, C++, VB, Etc. for quite some time now, but I recently purchased a new laptop. Here are its specs:
Windows XP Home Edition
SP2 Installed, All updates installed.
.NET 2 Installed.
Plenty of RAM/System memory available.
All minimal system requirements met and exceeded.
Currently, I'm running off of a wireless connection. I've been attempting to instal
-
- .net framework ?
by jin katama
- 1 Replies
- Last post
by Martin Xie - MSFT
- hello friends
may i known what is .net framework
Is there is any diff between .net/.net framework
Regard's
Jin Katama
-
- Import Fixed Width Text File
by EZ1976
- 5 Replies
- Last post
by EZ1976
- Hello, I want to import a Fixed Width Text file so that I can display the results in my Datagridview1. The data looks like this for about 97,000 lines:
999999JoeSmith 33 Main St. 123120060000005035
999999JohnSmith 450 Main St. 10212006000000 503R
I can break this down with " Microsoft.VisualBasic.FileIO.TextFieldParser" and create a Dataset then use my BindingSource to popul
-
- Database not updated when Debugging HELP PLEASE
by andres.silva1
- 1 Replies
- Last post
by Figo Fei - MSFT
- Hello,
I am developing a windows forms app in Visual C# Express edition, it has a database, and when I am debugging, nothing is being done in the database, and I am sure it is nothing to do with the code. Because all I am doing is creating a database with one table, and just dragging the table (with the datagridview) onto a form, then it runs perfectly, but when I add or delete records, and exi
-
- Incorporating various languages into one interface
by Joh42
- 4 Replies
- Last post
by Martin Xie - MSFT
- Hi! I'm currently busy writing a simple application that needs to support multilinguism. The main idea is to distribute the application with a standard language, but also make it possible for users to translate the application into their own language, by using simple resource files. A quick overview of the directory where the application will be installed: - MAIN DIRECTORY
- application.exe
-
- Invalidate / redraw specific regions
by Serdalis
- 4 Replies
- Last post
by Matt
- hi,
trying to make a turn based game that acts on a grid system to draw the world.
Unfortunatly i don't know how to flag certain areas of a form for redrawing and then update them.
the reasion i want to do this is because i want the program to be as efficiant as possable.
so far i have each tile as an object that has a render method and a bool that tells the program whether it need
-
- VB Language
by Marc6679_MarcCS
- 6 Replies
- Last post
by spotty
- Does anyone know whether the language on the express edition of visual basic is the same as just the regular visual basic (say VB6) and if not is all VB language compatible with the express editions.
-
- C# and ...roguelike?
by Suadeo
- 3 Replies
- Last post
by IsshouFuuraibou
- Hello all,
Currently I am learning C# mostly to play with XNA. While I understand alot of the concepts of the language, I have decided to start a project to continue my learning. My goal right now is to make something like a roguelike. While not as complex as one, I would like to beable to draw a room, display the man and enemy, and have various actions they can perform. This is where my qu
-
- Two Computer Screen.
by Jeremy6996
- 14 Replies
- Last post
by Martin Xie - MSFT
- Is it possible to create an applecation that can view, for example the desktop is display on one mondratore, while a full screen applecation is displayed in the other. Both viewing from the same computer.
-
- Reports in VB Express
by Ygor Lazaro
- 3 Replies
- Last post
by js06
- Hi, folks... I normally work with Visual Studio 2005, but now I'm having to use the VB Express. My problem is a project, I need to use reports with them, and this can be in Crystal Reports, Active Reports, Any Reports I can to re-write the reports, will be more right this way. Don't need to integrate the report tool with the IDE, and also can to use an ActiveX component. P.S.: I have Crystal Rep
-
- Create dll in VB, consume in C#
by alphonso
- 2 Replies
- Last post
by alphonso
- Hi,
I wanted to create a DLL using VB Orcas, and use it in C# Orcas. So, I went to select Class Library which is used for making DLLs, and I coded the code there. Here's the code:
Option Strict On
Option Explicit On
Imports System.Text
Imports System.Security.Cryptography
Public Class EncryptionAndPassphraseCreation
# Region "Enumeration Declarati