473,537 Members | 2,755 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Visual Basic .NET Forum

16
1,756
thread by: Robert Dufour | last post Nov 18 '06 by: RobinS
Here's the class code snippet Imports System.Configuration.ConfigurationManager Public Class Class1 Public _strTestSetting As String Public Sub SetTestsetting()
3
2,183
thread by: Rich | last post Nov 16 '06 by: Chris Dunaway
I put together a simple test class libary (VB2005) with one class and one function that takes an integer argument and adds 10 the argument and returns that number. Then I created a simple VB2005 app to test my class library function. I made a reference to testClassLib.dll in the new project. Then I made a function calls in a button sub and...
2
1,192
thread by: Smile | last post Nov 20 '06 by: Smile
Hi there, I have a question, please give me some idea. Thanks in advance! Solution1 | |---DBLogic (class library) | | | |-dblogic (class) which defines ConnString, functions to create DataTable by sqlstr
1
1,567
thread by: bay_dar | last post Nov 17 '06 by: RobinS
It seems there has got to be a better way to work with log files where I want to keep 8 days of logs. For instance if I wanted to keep 80 days, this would be a horrible approach. How can I make this more dynamic and efficient? Const FTPOutputFile = "output-files.log" Const FTPOutputFile1 = "output-files-1.log" Const FTPOutputFile2 =...
1
269
thread by: paul | last post Nov 17 '06 by: Cor Ligthert [MVP]
Hello, I have a datagrid bound to a dataset, it fills up OK from the acccess database but how do I alter the column widths individually at run time? Just cant work it out! Thanks Paul
2
1,184
thread by: Warex | last post Nov 17 '06 by: Warex
Hello, I have 2 questions maybe someone can answer. 1. On a function class when you return an item is it possible to return more than one and how is that done? Currently I am using for one Avariable = MyFunction() 2. In vb express is it possible to create an application that will allow a
0
811
thread by: crjunk | last post Nov 16 '06 by: crjunk
Does anyone know of any freely available report option screens? I'm trying to find a reusable report option screen that can be used in multiple projects where the textboxes, dropdown list, etc... are dynamically created based on the report chosen by the user. Has anyone come across something similar to what I am describing? So far, I'm...
1
847
thread by: Daniel | last post Nov 16 '06 by: Spam Catcher
hi i have made a program that modifies jpgs. the problem is when i resave the new jpg, the compression ratio has changed. i need a way to read the compression ratio and save it back with the same ratio. do you think this will keep recompressing the data ? Thanks, Daniel
8
1,111
thread by: Christina | last post Nov 19 '06 by: Holger Boskugel
Hiya!! I am trying to do something really simple here.. I have a link, clicking on which leads to a page say MyPage.aspx. There's a query string also passed to it. Hence its : http://machineName/projName/MyPage.aspx?myQueryStr=abcd Now, I dont want this to be displayed to the user. I want something
1
1,089
thread by: Steve | last post Nov 16 '06 by: Spam Catcher
I have a web based clickonce install. Works fine on some computers. On others, after clicking the install button on the web page the browser displays the XML code from the appname.application page instead of executing it. What am I doing wrong? -Steve
4
854
thread by: martin1 | last post Nov 19 '06 by: Holger Boskugel
Hi, All, I create xml file, when open in notepad (or any text editor), the file looks like below <Root<Table1<Data110 </Data1<Data220 </Data2<Data340 </Data3> <Table1</Root> That means it doesn't show each open and close tag one line. I want the file look like below
3
6,735
thread by: iwdu15 | last post Nov 18 '06 by: iwdu15
hi, whats the VB.Net equivalent to DWORD&? thanks -- -iwdu15
1
213
thread by: Mark Keogh | last post Nov 17 '06 by: rowe_newsgroups
I have some XML that contains a password, and I need to remove the password prior to outputting it to a log file. The password is contained like so <PASSWORD>secret</PASSWORD>. I need to replace secret with ?????? Can anyone help? Ta
5
1,358
thread by: Warex | last post Nov 17 '06 by: Warex
I am using the example from the microscuzz site on making a key but It keeps giving me an error: With DataSets.Tables("Numbers") .PrimaryKey = New DataColumn() {.Columns("Number")} End With Error: Object reference not set to an instance of an object.
4
1,044
thread by: lord.zoltar | last post Nov 20 '06 by: lord.zoltar
I am serializing a some objects and inserting them into a database, then retrieving them afterwards. Serializing (using a BinaryFormatter) and storing the objects seems to give me no problems, but when I try to deserialize, I get "The input stream is not a valid binary format." exception (followed by a long string of bytes that represent the...
2
258
thread by: Derek Hart | last post Nov 17 '06 by: Derek Hart
test
0
715
thread by: jhgonzales | last post Nov 17 '06 by: jhgonzales
I cannot seem to formulate what seems should be an easy expression. I need to find all occurances of a pattern except when it contains a specific string. For example if the string is Dim s As String = "xmlns:b=""base"" xmlns:h=""http://www.mydomain.com"" xmlns:t=""type""" I need to find both xmlns:b="base" and xmlns:t="type" and replace...
2
3,094
thread by: Thelonious Monk | last post Nov 25 '06 by: Thelonious Monk
I have a problem where some data is being eliminated. The problem is that the data contains signed numeric fields (the low-order byte of a negative number uses the first 4 bits as a sign and the last 4 bits as the low-order digit. This produces byte values higher than X'7F'. To be more specific these values are hexadecimal X'B0' through...
3
5,148
thread by: Greg | last post Nov 18 '06 by: Greg
This works properly: 1. Create a new Form and set it's size to 229, 474. 2. Drag a Panel to the form and set the following properties: Size = 216, 438 Location = 3,1 Anchor = Top, Bottom 3. Add a PictureBox control to the top of the panel and set the following
9
3,865
thread by: MikeB | last post Nov 19 '06 by: Tom Shelton
Hi, I'd appreciate some help, please. I'm writing a VS2005 VB project for school and one of the requirements is that every screen should have a "Help" button. I could do it by writing a clumsy case statement like this: sub showHelp(byval frm as String) Select Case (frm) Case "Form1" dim help as new Form1
1
861
thread by: KAMAL | last post Nov 17 '06 by: Spam Catcher
Hi all, I have some problem in my .net project. In my project two systems will communicate by installation the client server application in them. They can be 1. Server1--->server2 (run client server application on each system)
4
2,656
thread by: Pon | last post Nov 20 '06 by: Pon
Hi everybody, Simple question : Inside a class that has a shared method, how to raise an event on a given instance of this class from the shared method ?
0
1,006
thread by: Jan Smit | last post Nov 17 '06 by: Jan Smit
Hey, In Visual Studio the default load test results store is a SQL Express database. In the help files of visual studio, under the section 'About the Load Test Results Store', there is a note that says 'You can also save your load test run data in XML. That data is stored as a file and is not stored in the Load Test Results Store.'
0
695
thread by: Jeffrey.Kaye | last post Nov 17 '06 by: Jeffrey.Kaye
I am working on a program where I would like to overlay an image I would like to make it semi-tranparnet and be able to rotate it similar to the free transform in photoshop (with awire frame surronding the imade and mouse movements causing the rotation). Any suggestions
4
1,052
thread by: Zile | last post Nov 17 '06 by: Rad [Visual C# MVP]
I am trying to send mail from web page in asp.net 2.0/VB 2005: Dim Poruka As New System.Web.Mail.MailMessage myMessage.From = "matematic@gmail.com" myMessage.To = "matematic@hotmail.com" myMessage.Subject = "Automatic sending mail" myMessage.Body = "Success!" Mail.SmtpMail.Send(myMessage)

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.