-
- Stocks Program
by Cafi
- 2 Replies
- Last post
by Cafi
- Please,
I¡¯m trying to create a program to manage my stocks. Yahoo provides CSV files for day and historical informations, that can be downloaded.
For exemple, I took PETROBRAS stock ( http://br.financas.yahoo.com/q/hp s=PETR4.SA ). The historical data can be downloaded from:
http://au.rd.yahoo.com/finance/quotes/internal/historical/download/*http://ichart.finance.yahoo.com/table.csv s=PET
-
- Using fopen in VC++ Express
by stevemu
- 2 Replies
- Last post
by stevemu
- How to setup the VS debugging env
Running a console app from cmd, the 'fopen' find the correct file path and open the file. However, within the VS debugger, the same 'fopen' could not find the file. Could this be a problem in my debugger env
Thanks.
-
- How to add 16x16 icon to ImageList
by Blackwood
- 5 Replies
- Last post
by Blackwood
- I'm having trouble setting up icons to be displayed in a TreeView. The default size for TreeView icons is 16x16, and I have a set of .ico files that 16x16 (according to their properties as shown in Windows Explorer, verified by opening in Paint).
In the Designer, I add a ImageList to my form, and set it's ImageSize property to 16x16 and ColorDepth to 32Bit. Still in the Designer, I use Ch
-
- Miliseconds to Minutes
by djshades2004
- 14 Replies
- Last post
by djshades2004
- Hi Could someone help with some math conversions please lol.. I currently have this code which works, to calculate the duration: Dim SongLen As Double = m_Audio.Duration Dim SongMins As Double = SongLen / 60 How can I achieve to format it the same for current.song position, I need the current position to be in minutes aswell
-
- 100% CPU resources getting used
by cbhishekin
- 3 Replies
- Last post
by nobugz
- Good morning to all,
We are using a block of code to monitor a folder.
The block is as follows :
g_Inst.m_ptrTimer=SetTimer(NULL,0,1000,TimerProc);
TRACE(_T("timer running now\n"));
MSG msg;
while(GetMessage(&msg,NULL,0,0) >0)
{
TranslateMessage(&msg);
DispatchMessage(&msg);
: leep(1);
}
KillTimer(NULL,g_Inst.m_ptrTimer);
TRA
-
- System.Drawing
by Alastair Q
- 2 Replies
- Last post
by Chris Dunaway
- I've got this application where I wish to put circles on it through System.Drawing but I have looked around and I cannot find anything which has code or proper help on the matter.
Any help is welcomed
AliQ
-
- open text file
by Michael Morris
- 5 Replies
- Last post
by Brendan Grant
- i need to open a txt file in a richtextbox using a openfiledialog... what would be the code for this
-
- transparent labels
by BadButBit
- 3 Replies
- Last post
by BadButBit
- hi,
I set my label's background color to web-transparent ( the only 'transparent' I can find)... and it's still grey.... is there some overriding control or something else blocking this from happening
BadButBit
-
- Dynamic Methods
by Decimator
- 5 Replies
- Last post
by nobugz
- I am making an accounting program which uses a series of text boxes to make calculations. My problem is that, i cannot get the text box to update automatically when data is changed in other text boxes. Private Sub TextBox6 .............. Handles TextBox6.TextChanged TextBox6.Text = txtCost1.Text * txtQuantity1.Text Above is my code for a 'total' text box(Textbox6), which i want to display the su
-
- Microsoft.DirectX.*
by LarZ Productions
- 3 Replies
- Last post
by LarZ Productions
- Hi. I'm trying to follow a tutorial on a site, and they tell me to add a reference to the Microsoft.DirectX assemblies, only I can't find it in the list. I'm running a beta version of Vista, and I've DX9 installed and everything. Do I have to get the software development kit for DX, or is the assembly somewhere on my harddrive, and I have to browse for it Image from tutorial: http://gpwiki.org/i
-
- Randomizing a file input
by K-Dizzel
- 3 Replies
- Last post
by Solitaire
- Hi,
I¡¯m creating a slot machine simulation. I have an input text file that contains rows of information about the position of the slot machine reel images when the spin button is clicked. I want the order of the rows however to be randomized. As I¡¯m a complete beginner I really can¡¯t figure out how to get them to randomize. Any help would be appreciated!
Thank you
Kate
-
- insert text into a specific position in richtextbox
by nett_fan
- 7 Replies
- Last post
by nett_fan
- hi, i want to insert text in aspecific position in a richtextbox and i did something like that: richTextBoxEditor.Rtf=richTextBoxEditor.Rtf.Insert(index, "hi"), but nothing happen.how can i do that
-
- In Memorium - Cheyenne's Teddybear
by ReneeC
- 2 Replies
- Last post
by ReneeC
-
This is to note the sad loss of Cheyenne's teddy bear who apparently, "gave it's life to science." (yet another sacrifice.)
This is a space for people to create closure with Teddy Bear and to heal.
GoddessSpeed Teddybear - You didn't have to do that. It wasn't necessary.
-
- tab controler
by Ultimate V
- 4 Replies
- Last post
by jrboddie
- I am having trouble with my new word processor.
The 'New Document' button under the 'File' menu adds a tab to the tab control but, how do I make it so that a
rich text control is also added within it
Any conclusion will be very greatful... thanks!
-
- User-Defined Function in VWD 2005 Express?
by DavidA
- 1 Replies
- Last post
by Weston Hutchins - MSFT
- I am using VWD 2005 Express, trying to set up a UDF. I can find no template in the Add item dialogue box. Are UDF's supported, if so any ideas what I'm doing wrong
I have (successfully) configured sp_configure in SQL Server Management Studio Express to enable clr.
-
- I want to add a Picture Using and Event controlled Action...
by robertlamour
- 2 Replies
- Last post
by Tall Dude
- In my resources folder I have a picture called USFlag. I want my Windows Dialog to display the picture with the selected listbox Iteam...(Countries of the WORLD)...when selecting USA, The pictureBox will display the selected FLAG...
picFlags = USFlag
-
- Reading Massive Text Files
by Jeremy6996
- 9 Replies
- Last post
by Jeremy6996
- How would I write a script that would read a text file from 70-100 mb. In .txt format.
-
- connectionstrings path problem?
by pinoyz
- 4 Replies
- Last post
by Bruno Yu - MSFT
- hi good day ppolz... i have a problem regarding installing my program to another computer. when i install my program it seems well ok but when it interact with the database it say's
'C:\Documents and Setting\Administrator\Desktop\login.mdb' is not a valid path'.
what's the problem with that and also the database login.mdb i need to copy and paste it where the 'C:\Documents and Setting\Admini
-
- Cannot create new database
by akanewbie
- 3 Replies
- Last post
by akanewbie
- Cannot create new database in VB Express as per all tutorial instructions. Instead, I get the message: " Message: Generating user instances in SQL Server is disabled. Use sp_configure "user instances enabled" to generate user instances." How do I use sp_configure Why should I have to establish a single user instance in the first place. I want the app to be used by more t
-
- convert int to char + concat 2 char
by m_amin
- 6 Replies
- Last post
by jmschmdt
- hi everybody
how are you all
please give me the function of converting an integer value to char
and then
how can i concatinate it with another char
either the first char is coming from a variable or coming as a string i type within the function.
thank you all
-
- How to Rename a file or folder
by AKJ
- 2 Replies
- Last post
by nobugz
- Hi ,
Let me know how to rename a file or folder in VC++ ,i am able to copy file contents but not able to rename a file can can one guide me how to do it
i used Filecopy() function,similar to it we have Win API to rename
Thanks in advance
-
- Inserting new rows at the TOP of a datagridview control?
by Leee
- 3 Replies
- Last post
by js06
- Is there a way to use a standard datagridview control, and rather than having the user add new data via the bottom row, have the same "insertion row" at the top of the datagridview I am working on a project where the particular datagridview is very full of data, sorted with the newest item at the top. It would make more sense to have new items inserted at the top rather than the bottom.
-
- Open FileMaker-runtime within a VB-application
by mans_jarnes
- 6 Replies
- Last post
by Martin Xie - MSFT
- I have a FileMaker-runtime application that I want to open within av Windows Form in a VB-application. How can I do that
The FileMaker-application is opened on the whole screen so therefore I want to make a vb-application to open the FileMaker-application within a vb-program so I get a Window around the application.
Thanks
Magnus
-
- FrameWork Question
by Ricardo 8a
- 4 Replies
- Last post
by Ricardo 8a
- Hi there.
How do i know the version of may FrameWork that i have Installed in may machine
Ricardo 8a
-
- Get c# DateTime from Java System.currentTimeMillis
by coltsith
- 5 Replies
- Last post
by Shaohen
- In my app, the server returns a time in milliseconds taken with System.currentTimeMillis. How do I convert that into a datetime for c# The (long int) constructor takes ticks. Thanks