Search:
Type: Posts; User: matt3011
Search:
Search took 0.07 seconds.
-
I added 2 classes : 1 for Code39 And 1 for Code128 (CharacterSetB)
I found Code39 on a French VB Forum and I updated It
I coded Code128 from the specifications which can be found there
Here...
-
OK It works,
Public Class PrinterBounds
Private Declare Function GetDeviceCaps Lib "gdi32" (ByVal hdc As IntPtr, ByVal capindex As Int32) As Int32
Private Const PHYSICALOFFSETX...
-
Is your program lauched with an account with sufficient powers (ie Administrator or Domain admin...).
I use the same code (almost) as you and I don't have any problem. The only difference is that...
-
Oops I forgot 1 line and it was an endless loop :
Dim reader As StreamReader = File.OpenText("file.txt")
Dim line As String
Dim a() As String
Dim Tester As String
Dim LineCount As Integer = 0
...
-
You try to read When there's no more lines :
While Not (reader.ReadLine() Is Nothing)
LineCount += 1
End While
This piece of code read your file to the end
So I suppose you get an error...
-
OK, it was interesting. I also found an article at this address : http://etc.nkadesign.com/Programming/CSharpSnippets
It retrieves the real margins from the printer. But when I print using these, I...
-
Function FormatSF(value As Double,Optional intSF as Integer=2) As String
Dim formatString As String
Dim Values As String()
If intSF<1 Then Throw New Exception("intSF must be >0")...
-
You can display your figures in the sientific format :
Function FormatSF(value As Double,Optional intSF as Integer=2) As String
Dim formatString As String
If intSF<1 Then Throw New...
-
-
This code doesn't log the user on but it checks its creditentials. I think that's what you're looking for :
Private Function Objet_Login(ByVal strLogin As String) As String
Dim entry As New...
-
Does anybody know how to find the margins which maximize the print area ?
The default margin are set to 100 and I don't know how to get the printer limit.
Anyhelp would be great
-
Here is a code to produce a bar code which complies with EAN13 specifications. I adapted It from a JS Script by Ghislain Lavoie I found on this web site.
Public Class EAN13
Private...
-
OK, now you're almost done. Try something like this
Dim ioStream As IO.Stream = File.Open(Application.StartupPath & "\dat\Attachements\" & dfAtach.File, FileMode.Open)
Dim...
-
You should open your file with the IO.File.Open() function which returns a FileStream.
You can read that stream byte per byte, or fill a buffer with it
-
You should try using FMOD. It can play whatever audio you want.
Here is the website : http://www.fmod.org
-
Maybe you should try something like this :
Function FileLocked(ByVal FileName As String) As Boolean
Try
Dim myStream As IO.FileStream
...
-
Ok, I pointed the problem out. I have a ListView.ListViewItemSorter set on my control, and it is active when inserting data.
I now set it to nothing when inserting data and I set it back when...
-
It doesn't change anything at all. I assume that the effect of ListView.BeginUpdate is the same as ListView.SuspendLayout. It just doesn't allow the control to redraw unless ListView.EndUpdate Or...
-
I am adding ListViewItems to a listView from a SQLDataReader. The problem is that when the number of items grows, the time to add them to the listbox grows exponentially.
For example, when I add...
-
You need to implement a Comparer in order to sort a listview :
Private Class myListViewComparer
Implements IComparer
Public ListViewColumn As Integer = 5 'The column to sort
...
-
I don't see your point, since you're just proposing a DATEDIFF method. I want the week number in the year.
I made my own function
CREATE FUNCTION [dbo].[fn_week] (@d_date AS datetime) ...
-
I mean, if you assume that first week of year starts on jan 1st, then today (june, 22nd) we are in week 26 (what I get). But if you assume that first week of year is the first full week of january...
-
I want to do a search based on the week of a given date field.
I'm using DATEPART(ww,myField) to get that week number but, I don't get the number I want.
SQL SERVER assumes that the first week...
-
It's Working now. Here is the code :
<DllImport("advapi32")> Public Function LookupAccountSidA(ByVal lpSystemName As String, ByVal Sid As Integer, ByVal Name As Stringbuilder, ByRef cbName As...
-
Hello, I've looked many places but I still can't make this work. Everything seems to work right until the LookupAccountSid.
I adapted the code from PSLoggedOn which is in C
I don't know what's...
-
>>This is just a .rar file
>>You can copy and paste the code from the source files and adapte It to VB6.
I have a very old VB6 version with, i'm sure, many bugs because I move to .Net before I...
-
You could Also make your own control :
Create a new class myTextBox that inherits the class TextBox :
Public Class myTextBox
Inherits TextBox
Private Sub Enter(ByVal sender...
-
Winamp allows you to delete a mp3 file. Just click on Remove button then Remove MISC and delete file physically
-
OK, I'll put an example when i have time.
when you've a created a new instance of it try,
myId3v2Instance.filename = "filetoread" 'the file you want the Id3v2
myId3v2Instance.getid3() 'You put...
-
I don't have much time by now.
Only the Form and its code are in French.
The ID3v2 class is almost in english. Just replace "donnees" by "data" and it's done.
I don't have much time but I think I...
-
Here is a id3v2 reader/writer written in VB.NET ,you'll find how to add an embed picture in it:
Id3v2 module
-
Here is a id3v2 reader/writer written in VB.NET :
Id3v2 module
-
Here is a id3v2 reader/writer written in VB.NET :
Id3v2 Class
-
I've not finished it yet, but i will upload new versions as soon as they'll be ready. It is not commented, i'll do this sometime.
I think this could help many people wanting to use id3v2.
Hope this...
-
Thank you, I have the icon and the menu.
But I can't click minimize. I could do it in VB6, Any Idea ?
Also, move doesn't work, i can click it but i can't move the form (I had the same issue...
-
I use a form using a dll class. When i open a form with showdialog in the dll class, it remain displayed over all main app windows.
So try with myform.showdialog
-
-
Sorry, I went through the thread a little too fast and I kept in mind only the code of the first post which make me think of this kind of error.
Reading more carefully, the problem seems harder...
-
I don't think that's useful to package it with your app because it is installed by Internet Explorer and so, it is present on every computer running Microsoft OSs.
-
To open your form again, you'll have to instanciate a new one :
myform=new frmTheForm
myfrm.show
|
Click Here to Expand Forum to Full Width
|