Click here to Skip to main content
15,902,112 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionError Message Pin
morteza573-Jan-07 0:05
morteza573-Jan-07 0:05 
AnswerRe: Error Message Pin
Christian Graus3-Jan-07 0:19
protectorChristian Graus3-Jan-07 0:19 
GeneralRe: Error Message Pin
morteza573-Jan-07 0:34
morteza573-Jan-07 0:34 
GeneralRe: Error Message Pin
Dave Kreskowiak3-Jan-07 2:14
mveDave Kreskowiak3-Jan-07 2:14 
GeneralRe: Error Message Pin
morteza573-Jan-07 3:39
morteza573-Jan-07 3:39 
QuestionBuilding projects from a batch file Pin
dlarkin772-Jan-07 23:48
dlarkin772-Jan-07 23:48 
AnswerRe: Building projects from a batch file Pin
Colin Angus Mackay3-Jan-07 0:42
Colin Angus Mackay3-Jan-07 0:42 
QuestionBuilding Windows Froms project using NAnt Pin
dlarkin774-Jan-07 23:48
dlarkin774-Jan-07 23:48 
Thanks for that info Colin. I started looking at MSBuild but I got totally sidetracked with NAnt.

I've been playing around with it and it looks pretty good. But whenever I try to build a Windows Forms application the XP Visual Styles are being lost. Can anyone tell me what I need to do to keep the xp styles?

The build file I use is below:

<code>
<?xml version="1.0" encoding="Windows-1252" ?>

<project name="TESTER" default="run" xmlns="http://nant.sf.net/release/0.85/nant.xsd">
<property name="basename" value="TESTER"/>
<property name="debug" value="true"/>
<property name="build.dir" value="bin"/>

<namespaceimports id="tester.imports">
<import namespace="Microsoft.VisualBasic" />
<import namespace="System" />
<import namespace="System.Collections" />
<import namespace="System.Data" />
<import namespace="System.Diagnostics" />
<import namespace="System.Drawing" />
<import namespace="System.Windows.Forms" />
</namespaceimports>

<target name="build">
<mkdir dir="${build.dir}"/>
<vbc target="winexe" output="${build.dir}/${basename}.exe" debug="${debug}"
main="TESTER.frmMain"
optioncompare="text"
optionexplicit="true"
optionstrict="true"
rootnamespace="TESTER"
removeintchecks="true">
<imports refid="tester.imports" />
<sources>
<include name="*.vb" />
</sources>
<references>
<include name="System.dll" />
<include name="System.Data.dll" />
<include name="System.Drawing.dll" />
<include name="System.Windows.Forms.dll" />
<include name="System.Xml.dll" />
</references>
</vbc>
</target>

<target name="run" depends="build">
<exec program="${basename}.exe" basedir="${build.dir}" />
</target>
</project>
</code>

Thanks very much,

dlarkin77
QuestionUpdating DataSets Pin
MatthysDT2-Jan-07 23:28
MatthysDT2-Jan-07 23:28 
Questionvirtual execution system Pin
kiranknair2-Jan-07 22:59
kiranknair2-Jan-07 22:59 
AnswerRe: virtual execution system Pin
Christian Graus2-Jan-07 23:00
protectorChristian Graus2-Jan-07 23:00 
AnswerRe: virtual execution system Pin
Dave Kreskowiak3-Jan-07 2:11
mveDave Kreskowiak3-Jan-07 2:11 
Questionmemo problem Pin
amaneet2-Jan-07 22:55
amaneet2-Jan-07 22:55 
AnswerRe: memo problem Pin
Johan Hakkesteegt3-Jan-07 6:47
Johan Hakkesteegt3-Jan-07 6:47 
GeneralRe: memo problem Pin
amaneet6-Jan-07 0:24
amaneet6-Jan-07 0:24 
Questionintptr in vb.net Pin
amaneet2-Jan-07 22:49
amaneet2-Jan-07 22:49 
AnswerRe: intptr in vb.net Pin
Christian Graus2-Jan-07 22:57
protectorChristian Graus2-Jan-07 22:57 
GeneralRe: intptr in vb.net Pin
amaneet3-Jan-07 0:20
amaneet3-Jan-07 0:20 
AnswerRe: intptr in vb.net Pin
Dave Kreskowiak3-Jan-07 2:09
mveDave Kreskowiak3-Jan-07 2:09 
AnswerRe: intptr in vb.net Pin
Martin.Smith3-Jan-07 2:49
Martin.Smith3-Jan-07 2:49 
Questionintptr in vb.net Pin
amaneet2-Jan-07 22:46
amaneet2-Jan-07 22:46 
AnswerRe: intptr in vb.net Pin
Christian Graus2-Jan-07 22:58
protectorChristian Graus2-Jan-07 22:58 
Questionregarding my previous qestion about linegetcountry() TAPI Pin
hihsh2-Jan-07 22:39
hihsh2-Jan-07 22:39 
AnswerRe: regarding my previous qestion about linegetcountry() TAPI Pin
Dave Kreskowiak3-Jan-07 5:00
mveDave Kreskowiak3-Jan-07 5:00 
QuestionForm resize issue Pin
darkturtle2-Jan-07 22:00
darkturtle2-Jan-07 22:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.