|
"take a look to xws.NewLineOnAttributes = True"
Thanks, that was stupidity on my part. So I'm stuck with utf-16 unless I switch away from a string builder/writer. Thanks for the help.
|
|
|
|
|
In VB 6.0 they used the Printer.Print command to be able to print directly from the form to the printer. I am trying to do that same thing by using code to print from the form to the default printer directly using VB .Net. Any thoughts?
Underwood
|
|
|
|
|
I am trying to print a formatted layout from multiple textboxes to the printer.
Underwood
|
|
|
|
|
I need to have the Source code of a programe about “ sending message, picture, sound, video” through the Lan and wireless”, which is written by VB.net. Please send it to my email: ….. Thanks for your reading and replying
i am pham quang dan
|
|
|
|
|
The only way you're going to get the soruce code for an app like this is if you write it! This isn't Rent-A-Coder. Noone here is goign to write an entire app for you, and certainly not for free.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Come on Dave. Surely YOU have plenty of time for a volunteer project!
Nathan Lindley
|
|
|
|
|
Funny you should mention that! I just got notified that I'll be running my ENTIRE site (2 buildings) on generator power only for an entire day. Extension cords running all over the place keeping the network running because the outage will last much longer than the battery power will...
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Hi All,
I am having one doubt ,is there anyway to draw only vertical lines(not gridlines)
between each column in listview of windows forms.If any one have Idea please guide me how to handle this.
thanks.
Rama
venkat
|
|
|
|
|
The ListView control doesn't support this. There are two ways of doing this. Either finding a control library that has a ListView control that does support what you're looking for, or ownerdrawing the ListView control yourself and supplying the drawing code to draw the entire control.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Is it possible to create a regular win32 DLL using VB? I do not want a ActiveX/COM dll.
|
|
|
|
|
No as I know.
In VB6 you can only create ActiveX/COM Dll's.
In VB.NET you can create ActiveX/COM and .NET dll's.
|
|
|
|
|
But, you can use the dll's you created in VB.NET in other Visual Studio Languages such C#,C++,Java.NET,ASP.NET.
You also may use Dll's you made in the above language in the VB.NET.
This sharing ability build on the CLR(Common Language Resource) of Microsoft that using a helf-native code compiled from the projects and in the CLR runtime compiling it to a native code according to the device CLR setup on (Movile, CE, Microwave, PC, etc.).
|
|
|
|
|
No, it's not. VB6 cannot create anything other than a COM-based DLL.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
hello,
u can create native dlls with a tool from remotsoft(www.remotesoft.com)
|
|
|
|
|
dear all
if i have :
dim s as string="Welcome"
and i need to print s, but i need to change the size(18p) and color(Red) of string , but i dont know how
please help me to change the format of string
kilany
|
|
|
|
|
Mr kilany wrote: and i need to print s, but i need to change the size(18p) and color(Red) of string , but i dont know how
This is nothing to do with the format of the string. It is all to do with where you want to display the string. So, in order to answer your question we need to know where you want your string displayed.
|
|
|
|
|
its depend on the where do you want to print this variable.
if you r displaying on label then you can set your own format like font name, font size, color etc.
Pavan Pareta
|
|
|
|
|
if i have list view as :
dim i1 as listviewitem
if k=1
i1=new listviewitem("hi")
else
i1=new listviewitem("hi")
end if
listview1.item.add(i1)
i need in the case (1) if k=1 add to listview hi as red color
but if k<> 1 add it to listview1 hi as blue
could you help me?
kilany
|
|
|
|
|
hi,
if k=1<br />
i1=new listviewitem("hi")<br />
i1.forecolor=color.red<br />
else <br />
i1=new listviewitem("hi")<br />
i1.forecolor=color.blue<br />
end if <br />
listview1.item.add(i1)
Mohamad A. Flefel
mflefel@hotmail.com
+962 79 5963865
C#.net & VB.net Developer
|
|
|
|
|
Strange question my friend...Strings are no more than a collection of characters, String Data Type do not have format. Display format is applied in visual controls like Labels, TextBoxes, RTFs.... Try creating a new Font object and setting it in the Font property of the visual control. Also, you can edit the font properties of the control in the VS .NET Designer
-----------------
Solo hay 10 tipos de personas, las que saben binario y las que no
|
|
|
|
|
Hellow to all ,
i am exporting a report to PDF Format when i open it in Acrobat 7 i got the report mixed and missing data , but when i open it in Acrobat 5 , i can read it in a right way ...
|
|
|
|
|
I am handling a large-scale project entitled as MIS (Marketing information System). I am using Vb 6 as front end, Ms Access as back end and Crystal report 8 as reporting tool.
1) In the project i am required to save customers image to database, and it should be shown in individual customer’s report, which will include that image. I had taken OLE field in the database to save images. I had taken Common dialog box control to select image and display it in OLE control, but i don't know how to save the OLE controls image to database. i am using ADO object to access the database. How could I can save and retrieve the image from database? Is it possible to save images by using other controls like Picture box or image control in the form? I want to save image as bitmap in the database.
2) The size of project is very large then it is useful to store image to database? Will it make it slower to access database?
3) Saving path of image in database will make any difference? If i do so then how can show the images in report (Crystal
report 8)?
Kiran Sajanikar
Software Engineer
CleverBIT softwares.
Pune.
|
|
|
|
|
pls find this url
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvbpj01/html/gs0102.asp
it's helpful for u
Parwej Ahamad
|
|
|
|
|
I have access to a program, in which all of the text editing is done through table fields.
However the Delete key doesnt delete text. Only the backspace key will delete text.
Also, Ctrl-C/CtrlV is spotty at best.
Any ideas as to how I can fix this?
Just a note but while this is an application I'm using, I have access to the source code, so I can change it if I need to.
From the looks of it, the controls used are PropertyGrids and DataGrids.
- Munty
|
|
|
|
|
Which version of VB of you using?
Does the code handle any of the DataGrid's Key events, KeyDown, KeyUp, KeyPress? Ctrl-C/V is spotty because in most cases you selected the cell, not the text inside it. A DataGrid does NOT work like an Excel spreadsheet, so don't expect the same functionality as far as keyboard handling.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|