I am programming a machine that has to cut variable lengths from roll's of material, my program has got to calculate the best fit from these roll's, ie: The rolls of material are 6.2M long and an order for
5 * 2.4M
7 * 1.2M
3 * 1.86M
I need to calculate the best way to cut these from the...
This is probably a silly question but my knowledge on networking is limited, how do I access a computer within an external network, ie; my work computer sits on a network which has a common internet ip, so all 30 computers are seen over the internet as the same, but each computer has a unique ip...
Looking for assistance in storing an array into the registry, eg:
Dim myarray(25) as Variant
for i = 1 to 20
myarray(i)=i*3
next
****savesetting*** hkey,path,myarray
this isnt actual code only an example of what i am trying to achieve, without having to save each element of the array...
I have got a dynamic array which reads Tags and strings in from a .ini file, How can I read the "Array" Id back only knowing the string, ie:
dim tag$(3)
tag$(1)="ONE"
tag$(2)="TWO"
tag$(3)="THREE"
"THREE"= ???? I want to read back 3 here.
At...
Ok, why does this happen & what do I do to get the right result?
I am trying to find Sin(70.4170)in degree's
The answer is 0.9421569 degrees.
My Vb6 gives me 0.96409144 Radians which when I multiply by the radians to degrees formula 180/pi (57.2957)gives me a silly figure of 55.23 degree's...
Probably an easy question, but how do I get multiple workgroups on my laptop running Xp, so that I can connect too, one of the several locations I work from, each hosting under different workgroup names?
Each time I connect to a different Network it overwrites my existing settings.
I have...
I want to run a standard.exe and reference it to an Activex.exe and pass information between them, but after 3 days of trawling through faq's I can't find any how too's, there is a lot of info on control events etc: can anyone direct me to a piece of sample code that shows the basics of how to...
Help!!!
I have written quite a large program that is the front end for a piece of automated machinery, the software I have wrote to be modular, and at the moment is the control system for 10+ machines, therefore a lot of the codeing is dynamic, and creates the Controls depending on the I/O...
I am writing an applicatation that has multiple (4)winsocks on, in the form of an array, these are being used to control "intelligent cameras". When i try to connect using winsock(n).connect occasionally the connection will fail and time out, I reset the winsock with winsock(n) close...
Yes its me thats Dim, I have copied a folder of a project I am creating, from one PC to another, when I try to run the project on the other pc it gives me an error for all the variables I have not Dim'med and yet the same project runs happily on the original pc, why?? I know the answer is...
I am using the following code to open an Excel Workbook, but I want to either create a new "named" workbook or open one if the name already exists,
I am using the following code how can I adapt this for my needs?
Dim objXL As New Excel.Application
Dim wbXL As New Excel.Workbook
Dim...
I Have created an MS Toolbar with various buttons and Hot and disabled images on it. I have added a dropdown button, how do I get this to display the icons / buttons that I require for my drop down options? This can be done at design time? Somebody out there please help!!
Adam
Heres one i am stuck on, and would be gratefull of any assistance. Using a Bar code scanner on a keyboard wedge I am trying to store the keyboard / scanner input to a buffer, without having focus on any particular object, so that I can then compare this input with a $. Does any one know of a...
I am controlling networked cameras through a VB front end, problem is Once I have accessed a camera, the port I am using is being held open,(Message : Port already in use) I have to wait for the port to time out before I can re open.
How can get round this?
Thanks in advance -- Adam
palnd (Visitor)
Sorry about the syntax of my coding, what I am trying to achieve is to be able to call upto 70 procedures from one or two lines of code, the procedures are labelled as:
step1()
step2()
I
I
step70()
I am trying to call these from a single line of code such as
do
call...
This is probably easy to some of you out there? I am trying to call sub routines from an array, but can not seem to manage it, ie:
dim count(50)
dim i
count=count+1
call step(count)
Private sub count(1)
end sub
private sub count(2)
end sub
etc: This obviously doesn't work, but is there a...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.