hi,
  Â
    can u give some more details regarding this...... am a .net developer
working in bangalore..
--- On Fri, 27/11/09, Prachi <prachi_p_1999@...> wrote:
From: Prachi <prachi_p_1999@...>
Subject: [Visual Basic 6 programming] Looking for VB programmer for Freelance
work
To: visualbasic6programming@yahoogroups.com
Date: Friday, 27 November, 2009, 1:43 PM
Â
Hi
This is Prachi from Delhi. I am looking for a VB programmer to develop some
simple applications in VB. This will be a short-term Freelance project.
Please let me know if you know anyone.
With Best Regards
Prachi
9873445105
The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.
http://in.yahoo.com/
[Non-text portions of this message have been removed]
guys please visit my forums Im glad to help your vb6 needs, Im a 5 year vb6
programmer and until now I still practice my programming skills. I will teach
some advance and useful techniques in programming vb6 and I will share it on my
forums I just need time and users to support my forums thanks.
heres the site: http://www.redpatatas.com
Hi
This is Prachi from Delhi. I am looking for a VB programmer to develop some
simple applications in VB. This will be a short-term Freelance project.
Please let me know if you know anyone.
With Best Regards
Prachi
9873445105
I would only add items to the list box that qualify.
For I = 1 to 4
For J = 0 to 42
If I > 2 And J > 37 Then
'Ignore
Exit For
End If
Mh3dList1.AddItem I% * 100 + J%
next J
Next I
Bart
--- In visualbasic6programming@yahoogroups.com, "Allen Bennett" <Allen@...>
wrote:
>
> I forgot to post my code
>
> For I% = 1 To 4
> For J% = 0 To 42
> If J% <> 7 Then
> Mh3dList1.AddItem I% * 100 + J%
> End If
> If I% < 3 And J% > 37 Then
> Mh3dList1.RemoveItem (Mh3dList1.LastAdded)
> End If
> Next J%
> Next I%
>
>
> [Non-text portions of this message have been removed]
>
I forgot to post my code
For I% = 1 To 4
For J% = 0 To 42
If J% <> 7 Then
Mh3dList1.AddItem I% * 100 + J%
End If
If I% < 3 And J% > 37 Then
Mh3dList1.RemoveItem (Mh3dList1.LastAdded)
End If
Next J%
Next I%
[Non-text portions of this message have been removed]
The listbox control I'm using has a "lastadded" property, and, for my
application, using it is the only way I can think of to do what I need.
I know it's not efficient, so I'd like to know about other ways. My
apartment building has four floors with no "x07" on any floor. Also, the
apartments go from "x00" to "x37" on the first two floors, and from
"x00" to "x42" on the third and fourth floors (where "x" is the floor
number.
Allen J. Bennett
[Non-text portions of this message have been removed]
1. I am new to Visual Basic programming. However, I have a good knowledge of
C, C++, shell programming, Foxpro,etc.
2. I have made a functional program in Foxpro to generate a question paper.
However,I am having difficulty to make the same in VB6.In it, I am having 5
tables in Access, say Table1, 2,3,4,5 containing say approx 100 questions each
of different types ( MCQ, True False, Matching, Blanks & Long qns). A question
may occupy a number of rows in master table. I have an additional master table.
For Qn 1, I have to open Table1, randomly generate 10 non-repititive random
numbers between 1 and Maximum number of question and then pick up these values
and place themin master Table. Similarly with Table2, 3, 4 and 5. And Finally I
get a print out from the Master Table in to word /text format.
3. Can anyone help please? I canpost my program in forxpro and /or access
tables, if required.
1. I am new to Visual Basic programming. However, I have a good knowledge of
C, C++, shell programming, Foxpro,etc.
2. I have made a functional program in Foxpro to generate a question paper.
However,I am having difficulty to make the same in VB6.In it, I am having 5
tables in Access, say Table1, 2,3,4,5 containing say approx 100 questions each
of different types ( MCQ, True False, Matching, Blanks & Long qns). A question
may occupy a number of rows in master table. I have an additional master table.
For Qn 1, I have to open Table1, randomly generate 10 non-repititive random
numbers between 1 and Maximum number of question and then pick up these values
and place themin master Table. Similarly with Table2, 3, 4 and 5. And Finally I
get a print out from the Master Table in to word /text format.
3. Can anyone help please? I can post my program in forxpro and /or access
tables, if required.
I want to display charts on forms of VB6 for that I am using MSChart control.
now i have 2 queries
1) Is there any more powerfull microsoft control for plotting charts/graphs.
2) How can i use recordset data to plot charts (without using arrays). I am
using DAO 3.6
Thanks All
I have successfully used Visual Studio Installer which is free from Microsoft.
It determines what dll's and ocx's must be included. It allows you to choose
where to install the program.
Bart
--- In visualbasic6programming@yahoogroups.com, "Michael Hodge" <vb6prog@...>
wrote:
>
> The problem related to programs written in VB6.
>
> When I update an EXE file, there is no problem. I send the updated *.exe to
> my friends and tell them to copy it to the appropriate folder in C:\Program
> Files, overwriting the previous version.
>
> However, Versions 2 and 3 go further than updating the EXE file. They
> include additional files, such as DLL and OCX. How can I send these to my
> friends with instructions on how to install them? Better still, can I send
> them a mini-program which will actually do the installation?
>
> Michael
>
The problem related to programs written in VB6.
When I update an EXE file, there is no problem. I send the updated *.exe to
my friends and tell them to copy it to the appropriate folder in C:\Program
Files, overwriting the previous version.
However, Versions 2 and 3 go further than updating the EXE file. They
include additional files, such as DLL and OCX. How can I send these to my
friends with instructions on how to install them? Better still, can I send
them a mini-program which will actually do the installation?
Michael
--- In visualbasic6programming@yahoogroups.com, cedric52 <no_reply@...> wrote:
>
> Hi, once I have changed my monitor wich habitualy got the same resolution than
the other, then visual basic 6 adjust itself to about 300X200 maybe I don't know
but absolutly unusable without moving the image up and down all the time to see
all the real screen, then I got back to the precedent monitor but the resolution
was still that corrupted and I did not find how to get it back to normal, I
can't reinstall visual basic 6 because it's on a windows98 hard disk I boot with
only to use visual basic 6 and I don't have any visual basic 6 installation
source available. Did someone got a pilot or some advice to send me?
>
I remember a post to this group I found interesting and made a copy of the
content. My copy is dated 3/14/2005. I was going to use it, but have never
added it to my program so I can't vouch for it. Here is what I saved:
If you mean to resize the screen and not the form, try the Resize() function
buried in this code:
Option Explicit
'
-------------------------------------------------------------------------
-----
Private Const BITSPIXEL As Long = 12
Private Const HORZRES As Long = 8
Private Const VERTRES As Long = 10
Private Const VREFRESH As Long = 116
Private Const CCDEVICENAME As Long = 32
Private Const CCFORMNAME As Long = 32
Private Const DM_BITSPERPEL As Long = &H40000
Private Const DM_PELSWIDTH As Long = &H80000
Private Const DM_PELSHEIGHT As Long = &H100000
Private Const DM_DISPLAYFREQUENCY As Long = &H400000
Private Const CDS_UPDATEREGISTRY As Long = &H1
Private Const CDS_TEST As Long = &H2
Private Const DISP_CHANGE_SUCCESSFUL As Long = 0
Private Const DISP_CHANGE_RESTART As Long = 1
Private Const DISP_CHANGE_FAILED As Long = -1
Private Const DISP_CHANGE_BADMODE As Long = -2
Private Const DISP_CHANGE_NOTUPDATED As Long = -3 'Nur NT!
Private Type DEVMODE
dmDeviceName As String * CCDEVICENAME
dmSpecVersion As Integer
dmDriverVersion As Integer
dmSize As Integer
dmDriverExtra As Integer
dmFields As Long
dmOrientation As Integer
dmPaperSize As Integer
dmPaperLength As Integer
dmPaperWidth As Integer
dmScale As Integer
dmCopies As Integer
dmDefaultSource As Integer
dmPrintQuality As Integer
dmColor As Integer
dmDuplex As Integer
dmYResolution As Integer
dmTTOption As Integer
dmCollate As Integer
dmFormName As String * CCFORMNAME
dmUnusedPadding As Integer
dmBitsPerPel As Integer
dmPelsWidth As Long
dmPelsHeight As Long
dmDisplayFlags As Long
dmDisplayFrequency As Long
End Type
'
-------------------------------------------------------------------------
-----
Private Declare Function EnumDisplaySettings Lib "user32" Alias
"EnumDisplaySettingsA" (ByVal lpszDeviceName As Long, ByVal iModeNum As Long,
lpDevMode As DEVMODE) As Boolean Private Declare Function ChangeDisplaySettings
Lib "user32" Alias "ChangeDisplaySettingsA" (lpDevMode As DEVMODE, ByVal dwFlags
As Long) As Long
'
-------------------------------------------------------------------------
-----
Private OldWidth As Long
Private OldHeight As Long
'
-------------------------------------------------------------------------
-----
Private Sub Resize(ByVal NewWidth As Long, ByVal NewHeight As Long, Optional
PromptAfterChange As Boolean = True)
On Error GoTo E
Dim lpDevMode As DEVMODE
Dim dwFlags As Long
Dim Ret As Boolean
Dim i As Long
' Get the current display settings
i = 0
Do
DoEvents
Ret = EnumDisplaySettings(0, i, lpDevMode)
i = i + 1
Loop Until Ret = False
' Change the display setting variable to match the requested screen size
With lpDevMode
OldWidth = Screen.Width / Screen.TwipsPerPixelX
OldHeight = Screen.Height / Screen.TwipsPerPixelY
.dmFields = DM_PELSWIDTH Or DM_PELSHEIGHT
.dmPelsWidth = NewWidth
.dmPelsHeight = NewHeight
End With
' Change the actual display settings
Call ChangeDisplaySettings(lpDevMode, dwFlags)
Exit Sub
E:
End Sub
noo! Don't write to the root of C:\. You'll do nothing but make people mad.
Windows 7 has an environment variable for the "C:\program files", called
interestingly enough, "ProgramFiles".
This environment variable will point to the current program files folder for
Windows, wherever it is.
There is also another variable for 64-bit systems, called "ProgramFiles(x86)",
which holds the name of the folder for the 32-bit program root.
So once you're program is installed, use app.path. Keep all your programs files
in the same folder, or sub-folders, as your program. Configuration settings?
Why not use the registry? Using the registry is the prescribed method, but .ini
files are still used *lots*. I use them myself, for quick, portable projects.
Hope this helps,
Derek
--- In visualbasic6programming@yahoogroups.com, christmile <no_reply@...> wrote:
>
> I have written a VB6 app that writes to the Program Files folder, which has
created problems now with Windows 7 security issues (Virtual Store, writing to
the Program Files folder, etc). Can I hard-code my app to store its .exe file,
as well as its data files, in a folder that works with Windows XP, Vista, and 7?
How about installing the app and storing all its files in the C:\ drive? Will
that work?
>
> Or, is coding using App.Path to store files the best way to avoid or
work-around these security issues?
>
> I realize its not advisable to hard-code to a specific folder, but am asking
if hard-coding to C:\ would avoid the Windows 7 security issues.
>
> Thanks much, any answers appreciated...
>
> Chris
>
I have written a VB6 app that writes to the Program Files folder, which has
created problems now with Windows 7 security issues (Virtual Store, writing to
the Program Files folder, etc). Can I hard-code my app to store its .exe file,
as well as its data files, in a folder that works with Windows XP, Vista, and 7?
How about installing the app and storing all its files in the C:\ drive? Will
that work?
Or, is coding using App.Path to store files the best way to avoid or work-around
these security issues?
I realize its not advisable to hard-code to a specific folder, but am asking if
hard-coding to C:\ would avoid the Windows 7 security issues.
Thanks much, any answers appreciated...
Chris
If I recall correctly, the IDE remembers your last settings. Meaning that when
you close the IDE, it saves the window positions. When you fire it next, it
places everything back the way it was when you fired it last.
If you are having monitor resolution issues, you might want to check your
display drivers to ensure that you are running the monitor at the correct
resolution.
Let me know if I have misunderstood your issue.
--- In visualbasic6programming@yahoogroups.com, cedric52 <no_reply@...> wrote:
>
> Hi, once I have changed my monitor wich habitualy got the same resolution than
the other, then visual basic 6 adjust itself to about 300X200 maybe I don't know
but absolutly unusable without moving the image up and down all the time to see
all the real screen, then I got back to the precedent monitor but the resolution
was still that corrupted and I did not find how to get it back to normal, I
can't reinstall visual basic 6 because it's on a windows98 hard disk I boot with
only to use visual basic 6 and I don't have any visual basic 6 installation
source available. Did someone got a pilot or some advice to send me?
>
Hi, once I have changed my monitor wich habitualy got the same resolution than
the other, then visual basic 6 adjust itself to about 300X200 maybe I don't know
but absolutly unusable without moving the image up and down all the time to see
all the real screen, then I got back to the precedent monitor but the resolution
was still that corrupted and I did not find how to get it back to normal, I
can't reinstall visual basic 6 because it's on a windows98 hard disk I boot with
only to use visual basic 6 and I don't have any visual basic 6 installation
source available. Did someone got a pilot or some advice to send me?