|
Try reading this[^] article for an example.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
I am written a program in VB.NET 2005 and have used Crystal Reports XI release 2 Developers Edition for reports. All working as expected.
My problem is that when I include the Crystal Reports Merge Modules into my Install Sheild project, package up and the run the MSI on a PC, the installer creates several folders in the root directory contain several files that relate to Crystal Reports.
These folders include html, css, images, js and prompting and seem to relate to some web functionality of Crystal. (Not that I require any web front end to my project).
Surely they should not install to the root folder? Can anyone point out my mistake?
Thanks
Steve Jowett
|
|
|
|
|
i maked visual basic component with a component class i add a texbox and modify some properties a methods and know i wan to know how can i make a .dll from this component because i want to add it to my tool tabs. ????
Mago R. Vasquez (Gbyte)
|
|
|
|
|
Did you build it as part of a windows class library?
If so, locate "Build" on the VS menu bar, click on it & then click on "Build solution". You'll find the dll in the solution bin folder.
|
|
|
|
|
How Can I Get Cpu Name???
|
|
|
|
|
FriendlySoluations wrote: How Can I Get Cpu Name???
Me.Text = System.Environment.MachineName
Hope this helps
clanguage
|
|
|
|
|
I think he mean the name of the actual CPU, not the name of the machine in which the CPU resides.
|
|
|
|
|
Colin Angus Mackay wrote: How Get Cpu Name
You might be right. I never thought about the chip.
clanguage
|
|
|
|
|
WMI... Alway's slow but.. somthing like this..
Imports System.Management
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim ConfigNamespace As String = "\\.\root\cimv2"
Dim query As String = "select * from Win32_Processor"
Dim searcher As ManagementObjectSearcher = New ManagementObjectSearcher(ConfigNamespace, query)
Dim collection As ManagementObjectCollection = searcher.Get
For Each item As ManagementObject In collection
For Each prop As PropertyData In item.Properties
Try
Console.WriteLine(prop.Name + ":" + prop.Value.ToString)
Catch gExVar As Exception
End Try
Next
Next
End Sub
|
|
|
|
|
How can i use the project(Windows Application) made by vb.net(use Ado.Net) depend on SQL Server2000 in client pc without install SQL Server2000 in the client pc?
In other words I want ask if there is any way in which we will not install SQL Server2000 on client pc and the program will run properly?
|
|
|
|
|
you just need to change the connection string for the server. So save your connection string in app.config file and use that. or read it from any XML or text file from client machine
|
|
|
|
|
If your application is written dependant on an SQL Server backend, you'll still need an instance of SQL Server running somewhere, either one on the client PC or one on another server. On the local machine, you can install the desktop version of SQL Server. For SQL Server 2000 it's called MS Desktop Engine, or MSDE[^]. For SQL Server 2005, its called SQL Server Express[^].
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
In .net 2005 we have a class "Compression" which performs single file compression and decompression
Is there a way in which i can compress and decompress more than 1 file at once just like WINZIP and WINRAR.
or is there another way in .net to compress and decompress multiple files in a single file.
|
|
|
|
|
You have to supply your own wrapper around a file with multiple compressed streams, otherwise known as a ZIP file. You can find an example of such here[^].
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Hi all,
I need an suggestion, I am trying to send an mail (client will send mail in this format) from Outlook express in an specified format as,
Client Name : client name
Urgent : Yes
Date_planning[dd/mm/yyyy] : 29/08/2006
Analyses : Any text
In my application i am reading that mail and has to split it into four coloums i.e client name,Yes,29/08/2006,Any text.... seperatly, finally i will store it in the database with field names as cliend_id, status,date_plan,analysis.
I am using asp.net to split this and i am using ":" as starting index "&vbcrlf" as ending index such i am reading the in between string. But when i implement it i am facing an problem, it's the whole body content is coming as string and storing in the first coloum itself i.e as "Client Name.................. Any text"
So i cant able to split it, can any one suggest an way to send the mail such that i can seperate easily, else how to spli the recived mail.
plz guide me.............
Thanks in advance
Regards
Exelio
|
|
|
|
|
hi
first split the string with "vbcrlf" ,so you will get an array like thins :-
strArray(0)="Client Name : client name"
strArray(1)="Urgent : Yes"
strArray(2)="Date_planning[dd/mm/yyyy] : 29/08/2006"
strArray(3)="Analyses : Any text"
.
.
.
strArray(n)="anything..." as mush as you have lines.
then loop through the strArray and split each row with ":" and you will get new array like this :
strNew(0)="Client Name "
strNew(1)=" client name"
strNew(0)="Urgent "
strNew(1)=" Yes"
hope this will help you
Tamimi - Code
|
|
|
|
|
hi,
Thanks for your reply, i too tried this way first but there was an problem, when analysis contains more than one line like:
Client : volf
Urgent : Yes
Date plane [mm/dd/yyyy] : 10/10/2006
Analyse : This is the test mail from client regarding the template testing in oour test server
then it treates the next line as seperate one. But the second line is the continuation of the first line.
Plz suggest me how to over come this problem..........
by
Exelio
|
|
|
|
|
hi
i just want to say if you know in advance that there are 4 column exactly
then, starting from the 4th Iteration Consider all thr rest lines as part of the analyse column.
feel free to ask again
Tamimi - Code
|
|
|
|
|
Hi,
Ya your right, I too said this my PL, but my bad time he didn't accept this. I has to try for some other options.
Thanks very much
Bye
exelio
Know is Drop, Unknown is Ocean
|
|
|
|
|
In that case split with ":" first giving the following array
strArray(0)="Client "
strArray(1)=" volf
Urgent "
strArray(2)=" Yes
Date plane [mm/dd/yyyy] "
strArray(3)=" 10/10/2006
Analyse "
strArray(4)="This is the test mail from client regarding the template testing in oour test server (and any subsequent lines)"
strArray(4) will give the full analysis text
then loop through values 1 to 3 of strArray and split each with "vbcrlf"
strArray(1) strNew(0)="volf" discard strNew(1) = "Urgent "
strArray(2) strNew(0)="Yes" discard strNew(1) = "Date plane [mm/dd/yyyy] "
strArray(3) strNew(0)="10/10/2006" discard strNew(1) = "Analyse "
=o)
Alex
|
|
|
|
|
Hi All!!
Can anybody tell me if you can call a webservice from eVB or provide some link to sample code.I'm using WinCE 4.20 DAP Device
.
Thanks form your time & help!!
|
|
|
|
|
|
I really need help getting atlas to work...
Can someone help me out?
Tried everything...
A good guide to get atlas (cascading down lists in particular) working?
error at this moment:
Extender controls require a ScriptManager to be present on the page.
(...)
|
|
|
|
|
1. Right click on your toolbox and select "Add Tab".
2. Name this tab "Atlas".
3. Right click on the newly created Atlas tab & select "Choose items...", this will open the Choose Toolbox Items dialog.
4. Browse to the location of the Microsoft.Web.Atlas.dll file and open it.
5. Click ok. This will add all the Atlas components to your toolbox.
ii_noname_ii wrote: Extender controls require a ScriptManager to be present on the page.
All the Atlas controls require the ScriptManager to be added to the form. The ScriptManager is the component that provides partial rendering (i.e. the Ajax effect).
More than that I can't really tell you at the moment. It's still new to me as well.
|
|
|
|
|
Version any i-e 1.0,1.1,2.0
Hello there
I have to build one desktop application in which webBrowser control (ActiveX of Internet explorer) will be used. What i need is after navigating to any site
1. Need to check if the page is 100% downloaded
2. Need to save the open document in web browser Control.
Any help would be highly appreciated.
Best Regards
Rizwan Bashir
|
|
|
|