 |
|
 |
Hi, I would like to know if exists some dll for to read and configure the weight screen from Mettler Toledo brand.
Regards
|
| Sign In·View Thread·PermaLink | 1.00/5 (1 vote) |
|
|
|
 |
|
 |
Hi,
there is no .dll for the static scales. If you want to send and receive data from a static MT scale's you need to implement the SICS protocol. But then you must pay licence fees for it.
Sorry but that's a proprietary thing we earn money with.
Regards
Thomas
By-the-way: For the industrial scales, metal detectors and XRay's we have just developed a new kind of protocol based on XML-RPC. Will be out this year.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
What the hell good is a scale that hooks up to a computer if you dont offer a way to extract the data.... Who cares if it displays in hyper terminal if the user still has to read the value and type it into a seperate program they can just as easyily read the weight off the scale itself without needing to hook it up to a PC. What a scam...
|
| Sign In·View Thread·PermaLink | 1.00/5 (1 vote) |
|
|
|
 |
|
 |
Hi,
it is your right to think that a good scale needs a public library to hook it up to a PC. On the other side you must see, that 99% of our customers are from the food and pharmaceutical industry. That means our scales itself costs as much as a car. They are not made for your kitchen at home. And we have no bathroom scales e.g. As usual in industry software is a closed source thing. In industry the "leaders" are always afraid that something like you desribe in your post can happen. We spend a lot of time on implementing licencing scenarios, encryption and obfuscation of code.
But if you really think that this a weakness of Mettler Toledo scales, then feel free to report this to our CEO or someone else of the leadership team. The name of the persons in the leadership team can be found at: http://ch.mt.com/ch/en/home/site_content/aboutus/management.html[^]
Have a nice day.
Thomas
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
 |
|
 |
Thanks for showing your code. I have been trying to incorporate this code into an Excel spreadsheet as a means to prefilter files by file type and name thereby minimizing a user from selecting the wrong file. This code prefilters the file selection nicely, however, when a file is selected to be opened nothing happens. What am I doing wrong?
Thanks
|
| Sign In·View Thread·PermaLink | 5.00/5 (1 vote) |
|
|
|
 |
|
 |
Great, been struggling with this problem for a few days. Because I send a lot mails with large attachments, I need to know what I sent someone, to be exact I need to register the full pathname of the file, just to keep up with revisions. That way I don't have to keep the attachments in my mails. Same goes with recieved attachments, I can now just register the path I put it in. I'll be happy to get rid of all these attachments, they are just clogging my system, a .pst with 2.5 GB attachments in it...... Happy I found this place...
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hi Hasler Thomas Hi everyone
I've downloaded your sample code and found it very interesting and helpful. Thank you for the code. However, I want to customize the "Open file" dialog box. I need to open the newest file in a folder which has thousands of files. Normally, the folder is sorted by filename which make it diffilcult to find the newly born file saved to that folder. I want to sort that folder by date (descending) so that the newest-created file will come out on top. It is easy to do so in Explorer. But in VB, the template of Explorer is not applied. I know I need to use API "GetOpenFileName" as you did in your code but I don't know how to flag it. Can you help me?
|
| Sign In·View Thread·PermaLink | 1.33/5 (3 votes) |
|
|
|
 |
|
 |
Your code allow to open only one file at a time. What could I change to open more than one file? Your help will be really appreciate, I'm not an expert in VB. Thanks
Martin Côté
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hello,
I haven't worked on this code for a long time. In fact the last three or four years I just used Java and C / C++. But I will have a look if I can help you. (Have to reread the MS Developer API)
Thomas
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hello folks:
for adding multiple section in the dialog, set the flag thOFN_ALLOWMULTISELECT in the function GetOpenFile(...)
froorider :->
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
I've found that the function GetOpenFile() has no utility in the code. The Start_it() seem to do the samething. Now, I'm able to open a dialog with multi-selection activated.
But, what I want to do now... is to print the name of each selected files in different cell of an excel worksheet.
What I've obtained now is only one string containing all selected files separated by a space.
Worksheets("proposal").Range("test") = thCommonFileOpenSave(InitialDir:="C:\", Filter:=strFilter,_ FilterIndex:=1, Flags:=lngFlags, DialogTitle:="File Browser")
Do you have a trick to put each file to a single variable or in a arra and not all in the same package.
Thanks again
|
| Sign In·View Thread·PermaLink | 1.00/5 (1 vote) |
|
|
|
 |
|
 |
Hi, i would like to implement a folder browser for VSS using VB6.(similar 2 the explorer in windows) how do i go abt doing it?.
Antony
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
 |
Hi Dear Hasler Thomas I've to make a plug-in for MS Outlook. This plug-in will take a particular date, and will delete all the attchments of the e-mails which are older than that specific date. Kindly guide me for the task. How can I start the task and which programming envirornment is best.
Can I use VBA as best tool for the task?
Provide/guide me some sample code if possible. I'll be very grateful to you. Waiting for your kind response. Atif
Watch Your Thoughts for they will become your actions. Watch Your Actions for they will become your habits. Watch Your Habits for they will become your beliefs. Watch Your Beliefs for they will determine your destiny.
|
| Sign In·View Thread·PermaLink | 1.00/5 (1 vote) |
|
|
|
 |
|
 |
It takes some time to show the dialog box reached by the Browse-button, no to long but I would like access the dialog box as fast as one can other dialog boxes, for example Open..., Save...
Any sugestions?
Lars Wiberg
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
The problem is, that VB - Code is not a native Code and has to be interpreted first. That's why it is slower. If you would write this things in C++ and complie it to native Bytecode it would be much faster. That's why i.e. Java-Applikations are so slow on your machine.
I guess it's not possible to make it faster.
the froorider
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
i am trying to use this code in access but it is not working the browse box some times opens and some times not can any one help
|
| Sign In·View Thread·PermaLink | 1.50/5 (2 votes) |
|
|
|
 |
|
 |
I am getting the same thing happeninig in Access 2000!!! It seems to be that when I first load up a form and click the Open cmd (which runs the code) it doesn't work first time and I'm given a err 94 invalid use of null. But if I then go into design view and look at the code then return to form view it works perfectly........hmmmmmm.
Any ideas?
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hello,
unfortunatly I do not have an Access 2000. I have only an Access 2003. Until now I haven't test the .bas - module in Access, but I'm trying to give you an answer. First I must have a look at this "old" code
Until then I've found a little sample for Access 2000 using the same API on MSDN: Verwendung der GetOpenFilename-Methode der Comdlg32.dll[^]
This should work for you. And it is time that I do some "refactorings" on this article.
Regards
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
I've send an updated sample (Excel and Access) to CodeProject. The only thing I ve found was in the GetOpenFile Function of the module there were useless EndIf's. Perhaps this caused your errors. But I wasn't able to reproduce your errors. Can I mail you the Access-sample? Then you could check if this still appears.
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
|
 |
|
 |
Hy Anonymous,
you can just use the GetOpenFilename method. But it is made by the Office programmers themselves and you can only use the functionality they gave to it. For being honest it makes the same thing in the background like my code do, but mine you can change as you want, and give it more functionality.
Greets
Tom
|
| Sign In·View Thread·PermaLink | 2.00/5 (2 votes) |
|
|
|
 |
|
 |
Good day,
I am trying to use your code from "A Filebrowser for VBA" for capturing a filename including path into a SQL database field. I am using a Microsoft Access Project as the front-end. I associated the code with the OnGotFocus event property and receiving this error:
Only comments may appear after End Sub, End Function, or End Property.
I changed the form and field name to my form and added 2 additional file types for variables.

LWhite
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Dear Thomas,
Very nice code, I think it's missing the following though:
' Code courtesy of: ' Microsoft Access 95 How-To ' Ken Getz and Paul Litwin ' Waite Group Press, 1996
{next time at least rename the functions}
No_Sprockets
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |