|
SAve the PDF without compresion. Any field you want to be able to set, fill it with a unique string, and spaces to fill it to the maximum length you'd want. Then load the file, look for the strings and replace them.
Christian
I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer
|
|
|
|
|
hi, i need help on vb6
how can i chang the standard form to obtain
and other shape.
for example, i want to locate my command buutons
on circle shape not on standard form.
|
|
|
|
|
You need to make 2 API calls:
CreateRoundRectRgn - API to create a rounded rectangle region.
SetWindowRgn - API called with the form handle to set the form's region to the rounded rectangle created with CreateRoundRectRgn.
Search the MSDN for these two APIs to learn how to use them.
Robert
|
|
|
|
|
Hi,
I want to check whether the email ID entered in the text field is proper or not.
What can I do?
|
|
|
|
|
|
Help!
This begins my third week of teaching myself VB6, and graphics are hurting my brain.
I've been trying to load and do things that should be simple with images, like scaling them or changing their format then displaying the changed image, with image quality in mind. Examples of this are very few, and I don't really understand what I'm looking at in the code, anyway.
I downloaded FreeImage from SourceForge, but even that is proving to be a pain. I just can't get images to display in picture boxes.
Does anyone know of any good VB6 tutorial websites that have clear examples of this sort of thing?
My ambition is to make my own thumbnailer and maybe image editor so that I can learn how graphics work in VB6.
Thanks much!
I am the very model of a modern newbie programmer,
Crashing my computer 'cause my code creates a clamor.
My code and little programs are all never quite original,
I even stole this piece of music from a major general.
|
|
|
|
|
Pretty much everyone has converted their sites to support VB.NET. Microsoft has stated that VB6 is "officially dead" at the end of this month.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
VB.NET is so expensive though! I can't afford it on my allowance.
This VB6 Learning Edition I have was a hand-me-down from a cousin. Maybe I better just shelve this ambition until I get to college in a few years. By then, VB.NET will be officially dead.
I am the very model of a modern newbie programmer,
Crashing my computer 'cause my code creates a clamor.
My code and little programs are all never quite original,
I even stole this piece of music from a major general.
|
|
|
|
|
MoonSong wrote:
Maybe I better just shelve this ambition until I get to college in a few years. By then, VB.NET will be officially dead.
Not likely...
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I always found it best to use an Image Box For resizing images as it provides more clarity. If you want a sample project sent to you, email me.
Cheers
"If i was king cigarettes would be free."
|
|
|
|
|
hi,
we r using vb.net for creating a web service. we r refering to the book vb.net in 21 days. it says that when we select an ASP.NET web service application, a vsdisco file should be created automatically. this not
happen in our case. what r the other ways to find this disco file?
|
|
|
|
|
In VB, How do I check whether the string entered in the text box is a valid string & does not contain a numeric value?
|
|
|
|
|
Depends on how you define 'a valid string'.
This function returns false if one of the chars in the string is a number.
<br />
Private Function IsValid(ByVal myString As String) As Boolean<br />
Dim c As Char<br />
For Each c In myString<br />
If Char.IsNumber(c) Then<br />
Return False<br />
End If<br />
Next<br />
Return True<br />
End Function<br />
Instead Char.IsNumber(c) you can take several other static functions of Char to get your needed functionality.
|
|
|
|
|
I have a basic program that uses the "StreamReader" class to open a text file and read it line by line. Now I don’t know how to Search the lines in the text file for a value (string). Basically I’d like to examine the line of text for the existence of a string and then perform an action (for my prototype my action is a simple MessageBox).
Is there a class or function out there that can perform this? I looked up "IndexOf" in the MS help file and the example doesn't seem to be working for me. This is what I have so far.... Thanx in advance for any guidance towards the right direction.. I've imported System and System.IO already.
Dim TestFile As StreamReader
Dim LineofText As String
Dim Regval As String
TestFile = File.OpenText("C:\Test code\testing.txt")
Do Until TestFile.Peek = -1
LineofText = TestFile.ReadLine()
Regval = LineofText.IndexOf("badvalue")
If Regval = "badvalue" Then
MessageBox.Show("The value has been found")
Else
MessageBox.Show("its not on this line")
End If
Loop
TestFile.Close()
Update:
Never mind I found what was wrong .. I was expecting the "IndexOf()" to return the "String" that i was searching for but it was returning a 0/-1 (true or false)... I can deal with that
If there is a better method please let me know!!
-Mark-
|
|
|
|
|
badcredit wrote:
I was expecting the "IndexOf()" to return the "String" that i was searching for but it was returning a 0/-1 (true or false).
That still isn't quite the explanation. The -1 means that it didn't find your string, the 0 indicated that it did find your string at position zero (the first character) of the line.
My: Blog | Photos
WDevs.com - Open Source Code Hosting, Blogs, FTP, Mail and More
|
|
|
|
|
Hello All,
In DataSet, How Many records we can store Maximum
rugfy
|
|
|
|
|
In theory, there isn't a limit, except for available memory. In practice, it's whatever you think is acceptable performance. If performance gets too bad, then you'll need to rewrite your data handling code to support paging.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hello All,
Help me in editing wave ie cut,copy a part of wave from one audio wave file into another or new wave file.If u
find any dll or source code is available in any site Please
tell me.Thanks in adv.
|
|
|
|
|
In .Net When you Load the Recordset to datatable.If you set source of data to controls like listbox or combobox some times the datas are not viewed instead of In control we see the form of System.Data.DataRowView(It happenes only in sometime not all time )but we can avoid it through dataview
For example
dim dt as datatable
Adapter.Fill(dt)
ComboBox.Datasource = dt
ComboBox.DisplayMember="Column1"
ComboBox.ValueMember = "Column2" // In my case Display member displays record well but problem in Valuemember only i got as system.Data.DataRowView
you can avoid this in DirectCasting of DatarowView
Otherwise
dim dv as dataview = dt.DefaultView
ComboBox.Datasource = dv
ComboBox.DisplayMember="Column1"
ComboBox.ValueMember = "Column2" // Now works fine
Otherwise you can directly give as
ComboBox.Datasource = dt.Defaultview
ComboBox.DisplayMember="Column1"
ComboBox.ValueMember = "Column2" // Now works fine
I dont know why its happened,If anybody knows ,Let inform here
Rugfy
Rugfy
|
|
|
|
|
Hi,
Check whether ur Column name "Column2" is exactly same as that ur fetching from Databse(I mean check for case sensitivity)
Regards,
Ritesh
|
|
|
|
|
Hai,
No ritesh,I have checked thats not the problem,I have given details follws
Desc Of my Table in DataBase
Name Null? Type
----------------------------------------- -------- -------------
OWNERSHIPTYPEID NOT NULL NUMBER
DESCRIPTION NOT NULL VARCHAR2(50)
MySql Satament
cmdLocal = New OracleClient.OracleCommand("SELECT OWNERSHIPTYPEID,DESCRIPTION FROM OWNERSHIPTYPE", Me.conLocal)
My Property Binding Of Control
Me.DataSource = dtLocal //DataTable
Me.DisplayMember = "DESCRIPTION"
Me.ValueMember = "OWNERSHIPTYPEID"
This code has given problem,But in another cmbobox like this for another table works fine
Rugfy
|
|
|
|
|
Is it possible to get the file name from binary data in the blob field( say in oracle) using VB or other programming language? I am new to this blob thing. I just want to clear this out.
|
|
|
|
|
Hi...
MS Access has a menu option for Text Box Controls called "Conditional Formatting". It is a great tool that I commonly use to assist the user to identify where on the form he/she is. Example, when Text Box 1 'has focus' instead of the background color being green, it is red. The forecolor is also changed.
Does VB.net offer a similar feature? If so, I have yet to find it. Of course, I could instruct screen color changes based on the 'Enter' and 'Leave' events for each control, but this would be terribly inefficient.
Any suggestions for a better way to do this using a more efficient code procedure.
Thanks
Pat
|
|
|
|
|
in the sql the orderDate DataType is smalldatetime
I want to bind this orderDate to OleDbDateReader, but it doesn't work, is there anyone know why?
here is my coding:
dim OrderDate as Date
connecting to sql...
query: Select date_order from order
DataReader = DataSet.ExecuteReader()
Do While DataReader.Read()
OrderDate = DataSet.GetDataTime(0)
loop
txtOrderDate = OrderDate
Lisa
|
|
|
|
|
first think u seen ur code,
datset doesnot have executereader ,how u exeute the reader from dataset,use the OledbCommandObjecty for execute reader obviously u can get result
rugfy
|
|
|
|