|
I turn 29 on the 12th of February, need I say more?
|
|
|
|
|
Ok it has to be very very bad then
(I just turned 25 so...)
|
|
|
|
|
|
If you'r using the standard windows controls you'll have to create the form from scratch and do all the painting yourself (not easy and very time consuming).
This could also be a windows theme the user installed, in that case you don't have any control over it.
If you are using components there is a chance they support skinning but you would have to look at there site for that.
|
|
|
|
|
Hi All,
Can anybody please give me a codesnippet or links to determine when log file is full using VB6.
Any kind of help will be very much appreciable.
Thanks a Lot,
Aleem Mohammad.
Thanks & Regards,
Md. Abdul Aleem
NIIT technologies
|
|
|
|
|
what do you mean full? Are you create any special type of log file?
you can add as much as data as you can in log file(however it depends of your drive size)
|
|
|
|
|
I'm working with VB6 (it's the only programming interface I've got). I'm trying to write an application that allows friends to send files back and forth, sort of like MSN does, but with other features I plan to add myself.
I basically just need to know what controls and methods I use to set up and send/recieve these transfers between two machines over the net. I did a google search and found a lot of articles about the Internet Transfer control, but these seem to only allow you to download content off of websites.
Forgive me if this has been discussed already. I'm gonna keep searching, but I wanted to post this here in case someone had any quick answers. Thanks in advance.
"Go to, I’ll no more on’t; it hath made me mad." - Hamlet
modified on Wednesday, January 21, 2009 2:07 AM
|
|
|
|
|
You'd probably be looking at implementing your own server using Sockets. I'd start by Googling for "VB6 winsock".
|
|
|
|
|
|
This question belongs in the General Database[^] forum. It has nothing to do with VB.NET.
|
|
|
|
|
Hi!
Is it possible to redirect to an older version of an assembly if I have set "Require specific version" to true?
I have tried something like:
<dependentAssembly>
<assemblyIdentity name="mySecondAssembly"
publicKeyToken="32ab4ba45e0a69a1"
culture="en-us" />
<bindingRedirect oldVersion="2.0.0.0"
newVersion="1.0.0.0"/>
</dependentAssembly>
With no luck. It still tries to load the newer version.
/Henrik
|
|
|
|
|
the GAC allows this.
'Never argue with an idiot; they'll drag you down to their level and beat you with experience.' ~ anonymous
'Life's real failure is when you do not realize how close you were to success when you gave up.' ~ anonymous
|
|
|
|
|
I'm trying to open Word 2000 docs using Visual Studio 2005. (Our Office won't be upgrading anytime soon.)
I tried installing the Office Tools from CD, but it complains I don't have Office 2003 SP1 installed.
Is there any way around this mess, using VS2005?
Cheetah. Ferret. Gonads. What more can I say? - Pete O'Hanlon
|
|
|
|
|
Process class[^], use it to start your word document and word should open it automatically.
Some examples[^] on how to use this class to start opening up files on your computer.
|
|
|
|
|
I'm sorry, I should have explained better.
I need to process Word 2000 documents (open, read, write, etc).
Thank you for your suggestion though.
Cheetah. Ferret. Gonads. What more can I say? - Pete O'Hanlon
|
|
|
|
|
|
Dear all,
I'm new to VB.NET,I have this error:
System.Data: Value cannot be null.
Parameter name: dataSet
I want to display the data search result into the datagridview for the user. But I found the above error. The following is my code,the user click button1(which is the search button),then it will search from the database. The message box I'm here have pop out like usual. Anyone can tell me whats wrong with it?
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim x As String
Try
If Trim(TextBox2.Text) <> "" Then
x = TextBox2.Text.ToUpper
SQL = "SELECT * FROM company_detail WHERE Comp_Name LIKE '" & x & "%'"
ObjComm = New MySqlCommand(SQL, ObjMyConn)
ObjMyConn.Open()
ObjRead = ObjComm.ExecuteReader
If ObjRead.Read Then
MessageBox.Show("I'm here")
ObjAdapter = New MySqlDataAdapter(SQL, ObjMyConn)
ObjAdapter.Fill(ds, "Client_Comp")
dt = ds.Tables("Client_Comp")
DataGridView1.DataSource = dt
End If
End If
ObjMyConn.Close()
Catch ex As Exception
MsgBox("Error: " & ex.Source & ": " & ex.Message, MsgBoxStyle.OkOnly)
End Try
End Sub
Thank you for reading.
|
|
|
|
|
Have you tried to omit the filter of the select-statement?
Changing this line:
SQL = "SELECT * FROM company_detail WHERE Comp_Name LIKE '" & x & "%'"
To this:
SQL = "SELECT * FROM company_detail"
Does this have rows?
I are troll
|
|
|
|
|
You didn't specify which line the error occurs on, but I can take an educated guess:
ObjAdapter.Fill(ds, "Client_Comp")
Your DataSet object, ds , is Nothing , or null in C#. You have to create an instance of a DataSet object to pass to the DataAdapter.
|
|
|
|
|
How should i configure a console application to be independent from .NET Framework? Can i copy all the assemblies which it references to a CD with the application itself and run it then on a computer where .NET framework isn't installed?
This is my program:
Module Module1
Public Declare Function HideConsole Lib "kernel32.dll" Alias "FreeConsole" () As Integer
Sub Main()
HideConsole()
Dim s As String
Dim procID As Integer
If My.Computer.Registry.GetValue("HKEY_CURRENT_USER\SOFTWARE\Subroutine\ENERGOMONT", _
"Installed", 1000) = "Yes" Then
s = My.Computer.Registry.GetValue("HKEY_CURRENT_USER\SOFTWARE\Subroutine\ENERGOMONT", _
"Path", 2000) & "Energomont.exe"
procID = Shell(s, AppWinStyle.NormalFocus)
Else
procID = Shell("setup.exe", AppWinStyle.NormalFocus)
End If
End Sub
End Module
It referenced only Microsoft.VisualBasic namespace in system.dll, so i copied it on the cd. That is because of shell command and appwinstyle command, but how come that "My" keyword doesn't produce any references? I found out that it requires system.win32.registry reference. Why doesn't it appear with the references list?
modified on Tuesday, January 20, 2009 5:39 AM
|
|
|
|
|
If you have written your program in a .NET language, you need to install the relivent version of the .NET Framework.
Steve Jowett
-------------------------
Real programmers don't comment their code. If it was hard to write, it should be hard to read.
|
|
|
|
|
So, are you saying what i suggested can not be done?
|
|
|
|
|
Correct, what you are attempting cannot be done!
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
stardust1611 wrote: How should i configure a console application to be independent from .NET Framework
Write it in C++, that's what I do.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
..or anything else that can compile native code. My personal preference lies with Delphi 6.
Any which way, you don't need a full integrated development environment for a simple console-application. There are quite some compilers out there[^] that are free.
I are troll
|
|
|
|