Search:
Type: Posts; User: masterkert3
Search:
Search took 0.02 seconds.
-
#include <string.h>
#include <windows.h>
struct DataTypeMult
{
std::string DataText //char* DataText
BYTE Data[]
long Result
}
-
#include <iostream>
using namespace std;
int length;
int width;
int area;
int main()
{
-
So, I am using
TextOutA(GetDC(myapp),300,300,TEXT("Hi"),2);
inside a loop.
When I Open task manager I see GDI objects going up very fast until it hits 10,000. When it hits 10k the application...
-
Me.Controls("txtLine" & No).text = vbNullString
-
You can calculate the percentage off of it, can't help cause im not so familiar with the WMP control.
-
If you created a form via
"Dim form2 as new form1"
then use "set form2 = nothing"
-
I need to draw to form and I want to double buffer using a picturebox.
The picturebox is in the form but it needs to be visible and the same size as the form?
My form is fullscreen
-
Picturebox is visible but not the same size, if they would be the same size I wouldn't see the form.
-
Hey folks
How should I go about doing a backbuffer using a picture box?
Right now I've tried this:
private sub Picture1_paint()
do all the Line() and Circle() functions here
-
Dim Temp()
temp = split(text1.text,vbnewline)
label1.caption = temp(1)
should work,
-
...
I have a lot of variables and I don't want to create a huge select case statement.
So when I put a variable name in the textbox it will msgbox the value of the variable.
If I have:
-
So, I got this code:
Private Sub Command1_Click()
Dim Text1Text
Text1Text = Split(Text1.Text, " ")
If Text1Text(0) = "msg" Then
MsgVar Text1Text(1)
Exit Sub
...
-
Hmm....
Timer1.interval = 60 * 4
Private sub timer1_Timer()
command1_click
end sub
-
So I'm making a memory scanner again, got it mostly working but it's very slow..
So far I've got this:
Private Sub Command1_Click()
ProgressBar1.Max = &H7FFFFFF - &H400000
...
-
It even worked for me when using integer(Maybe cause it's not a round number).
You should revise your code a bit, maybe there's some other problem causing the error
-
Loop automatically makes use of 100% of CPU.
-
put a
sub main
....
end sub
In a module.
-
randomize
randomNumber = int(rnd*4 + 1)
-
Well, this is 1 way:
Shell "winmine"
Do while findWindow(vbnullstring,"Minesweeper") = true
loop
msgbox "Window not found anymore."
-
You can use GetTickCount API to do this:
Public Declare Function GetTickCount Lib "kernel32" () As Long
Dim Time1 as long,Time2 as long,Interval1 as long
Time2 = gettickcount
do
Time1 =...
-
if Instr(url,"/members/") then
....
-
Well,
dim Months(11) as string
months(0) = "January"
months(1) = "February"
months(2) = "March"
months(3) = "April"
-
Dim A as integer
A = rnd * list1.listcount
text1.text = list1.list(A)
Should pretty much do it.
-
Change Timer1.interval to 2000.
-
Shell "cmd /K ipconfig", vbNormalFocus
That'll keep the cmd open.
-
Ipconfig /release or Ipconfig /renew won't print anything.
-
Why would you want to keep it up anyway?
-
You should make a .ini file and check it that way.
Your code should be less then 100 lines and the .ini file would have those 3000 lines.
-
Can't you execute ipconfig /release?
That would work tho,
Shell "IpConfig /release"
And
Shell "IpConfig /renew"
To get the connection back.
-
Or, use the tskill.exe,
Shell "tskill appnamehere.exe"
-
Yeah I was using Dim MyArray(32) as string.
Thanks all!
resolved
-
I am using an array in loop and I need to change it's size to make the program use less memory resources.
Redim only works 1 time as I tried it.
-
Does your program use any resources?
And loads of .Gif files can become big file size too.
-
Your flash version is too low.
Install flash for INTERNET EXPLORER, because Mozilla FireFox's flash control is different from IE's flash control.
-
Okay, so I reinstalled windows without a format, I got a msgbox saying SPTD1.56 or higher must be installed from Daemon Tools.
Now VB6 works fine, I guess that was the problem :P
RESOLVED
-
I've done that, and I've disabled all add-ins.
It works on another HDD on this computer tho.
I've got 3 windows, on 2 of them VB6 doesn't work, I tried to think what I changed with them so I...
-
If I open ANY project, new or existing one.
Also, I just noticed it:
when I click on Tool->Options it also displays the message, I think it has something to do with registry keys.
-
-
Nothing, now I got new HDD and installed windows on it still same problem.
-
Since last week I can't run Vb6, if I open any project then it will close with message "Visual Basic has encountered a problem and needs to close. We are sorry for the inconvenience."
The same...
|
Click Here to Expand Forum to Full Width
|