Search:
Type: Posts; User: foxter
Search:
Search took 0.05 seconds.
-
Here is more or less explained how to do loops in VB6: http://www.vb6.us/tutorials/understanding-do-and-while-loops
-
Spoo, .Redraw = False will be a lot faster than .Visible = False
Private Declare Function GetTickCount Lib "kernel32" () As Long
Private Sub Command1_Click()
Dim startTime As Long, endTime As...
-
Returns or sets the contents of the cells in the MSHFlexGrid's selected region.
http://msdn.microsoft.com/en-us/library/aa239882(v=VS.60).aspx
-
Oh boy, found it: http://support.microsoft.com/kb/223071
-
MSHFlexGrid1.Clip is empty when I manually select rows in MSHFlexGrid1. Seems really strange to me :ehh:
Private Sub Command1_Click()
'selecting desired rows with mouse and trying to copy...
-
Rather dirty attempt for a solution:
Dim xx%, openx%, maxx%
'xx holds the number of last process
'openx holds the number of current processes
'maxx is the maximum number of rows to process at...
-
Fires up all rows at same time, which could take a lot of memory with thousands of rows:
Private Sub Command1_Click()
For i = 1 To MSHFlexGrid1.Rows - 1
do_something i
Next i...
-
Add a module to your program, in project properties set Startup Object to "Sub Main", and copy/paste the following into your module:
Option Explicit
Private Const FLAG_ICC_FORCE_CONNECTION As...
-
The goal is to mathematically crop the image if its bigger than a given width, and constrain its proportions. Just drop an Image control on your form, and add a nice looking picture to it.
In...
-
Hmm, may be you right about char sets. I will use DLL for now.
-
Forgot to mention, it does work with Crypt32.dll, but not with pure VB6 code:
Option Explicit
'egl1044
'WinXP or later
Private Const CRYPT_STRING_BASE64 As Long = &H1&
Private Declare...
-
I've wasted whole day today trying to figure out whats wrong with this, yet no luck. I have a base64 encoded picture. It perfectly converts back into a picture file when I convert it with PHP, yet...
-
Today a lot of websites use AJAX to display content. Below are the 2 examples of how to load pages with AJAX, and how not to:
1. Add reference to SHDocVw.dll, and a multiline Textbox to your form....
-
I guess will have to go with UserControl for now. Yet will keep my eyes open as I know I've see the solution somewhere.
-
Howdy all!
I havent posted in a long time, prefer more reading these days.
I remember seeing someone post a working VB6 solution to this bug either here or elsewhere long time ago. I spent whole...
-
Yes, i tried SendKeys, but I dont need the target app required to be in focus. I need to Ctrl-1 to a specific window defined. I'm not looking for the easiest solution, but for the right one.
It...
-
I heard there're problems with using SendKeys under Vista/Win7, and the target application must be focused. So I thought PostMessage would be the way to go.
-
Trying to simulate pressing combination of keys control + 1 (Ctrl-1). Cant seem to get it working, it only sends number 1 without Ctrl:
Option Explicit
Private Declare Function FindWindow Lib...
-
better imo:
Private Sub Form_DragDrop(Source As Control, X As Single, Y As Single)
Source.Top = Y - Source.Height / 2
Source.Left = X - Source.Width / 2
End Sub
-
Sorry, couldnt resist :)
http://www.google.com/search?hl=en&source=hp&q=vb6+transparent+richtextbox&aq=f&aqi=&oq=
-
Well, we all know this puts your form on top of other windows:
Private Declare Function SetWindowPos Lib "user32" (ByVal hwnd As Long, ByVal hWndInsertAfter As Long, ByVal x As Long, ByVal y As...
-
eh, something smells like software piracy not too far from here.
-
Yep, I already notice the problems with punctuation and line breakes. Any way around it?
-
-
' I get this:
$input = "This is what it should look like"
' I need to shuffle the string into this:
$output = "Tihs is waht it soluhd look lkie"
Basically changing place of each letter...
-
Yep, my bad. Was my little mistake in code.
Thank you.
-
Says something about "Object variable or With block variable not set".
-
For Each objNode In objNodeList
Set objSubNodeList = objNode.selectNodes("server")
For Each objSubNode In objSubNodeList
MSHFlexGrid1.TextMatrix(MSHFlexGrid1.Rows - 1,...
-
Problem with char encoding was caused by Winsock.bas, as all got sorted out correctly when i downloaded XML with Inet control. Go figure! I close this topic, thank you all for help :)
-
I've done some tests on this, and looks like i'm ready to dump MSXML parser and write my own to parse windows-1251 encoded XML. Here's what i've been doing:
XML_file =...
-
Yep, I guess so.
Thanks :)
-
Is there a way to do it in VB6 like in PHP?
$str = iconv('windows-1251', 'utf-8//IGNORE', $str);
-
Here's the one that gave me first error: http://www.blackhawksoftware.com/pad/!_-_$_Keep_Your_Privacy.xml
And I think i found what's causing it,notice ' in <Char_Desc_2000> node:
Keep Your...
-
100% positive. I'm building mySQL queries here, and got error regarding ' char.
Here's a bigger chunk of code:
XML_file = MSHFlexGrid1.TextMatrix(PageRow, 1)
DoEvents
XML_data =...
-
XML_data = Replace(XML_data, Chr(13), "")
XML_data = Replace(XML_data, Chr(10), "")
XML_data = Replace(XML_data, vbCrLf, "")
XML_data = Replace(XML_data, "\", "")
XML_data = Replace(XML_data,...
-
Everything needs to be parsed. My boss doesnt want to read through the XML tags. I thought about parsing it into the text box instead, but still it looks a bit confusing to me.
-
Example XML:
<?xml version="1.0" encoding="UTF-8"?>
<ALEXA VER="0.9" URL="adp.com/" HOME="0" AID="=">
-
Didnt know that. :ehh: My bad.
-
I doubt any programmer will help you here if you are downloading pirated copy of Visual Basic. Go to the store and buy it, its not that expensive .... bye bye :wave:
-
With MSHFlexGrid1
DoEvents
.RowSel = .Row
.Col = MSHFlexGrid1.MouseCol
.Sort = flexSortGenericAscending
...
|
Click Here to Expand Forum to Full Width
|