Similar Threads:
1.Command line compile error, but compiles in studio.net
Hi,
I wonder if anyone can help me. I am trying to learn to program in VB.Net
and am having a little difficulty compiling a program using the command
line. I am trying to create a small mdi application with a window menu but
it fails to compile displaying the following error:
G:\Personal\vb.net>vbc mdiapp.vb /r:system.dll,system.windows.forms.dll
/t:winexe
Microsoft (R) Visual Basic .NET Compiler version 7.10.3052.4
for Microsoft (R) .NET Framework version 1.1.4322.573
Copyright (C) Microsoft Corporation 1987-2002. All rights reserved.
G:\Personal\vb.net\mdiapp.vb(63) : error BC30456: 'TitleHorizontal' is not a
mem
ber of 'System.Windows.Forms.MdiLayout'.
LayoutMdi(MdiLayout.TitleHorizontal)
~~~~~~~~~~~~~~~~~~~~~~~~~
G:\Personal\vb.net>
If I create the same app using visual stuio.net it compiles and runs
correctly. can anybody can tell me why TitleHorizontal is not available from
the command line?
Thanks in advance
Dave
2.Update Custom Collection that is bound to DataGrid made up of Custom COlumns
I recieved some very useful help from Steven Cheng in an earlier post in
this group entitled 'Dynamically create datagrid columns' and am now
looking for some help to progress things.
With the help I was given I was able to create a web user control that
dynamically created a datagrid that was made up a number of custom datagrid
columns. I am able to bind a custom collection to this datagrid and I am
able to view my data.
Some of the custom columns are editable columns containing a control such as
Textbox, DropDown List, Checkbox etc.
What I would like to do is, on the click of a button, set the value in my
custom object (the object that my custom collection is a collection of) to
be equal to the corresponding value in the datagrid column. ie
I have a class called clsStock and a collection of clsStock objects called
clsStock_COL. In my clsStock class I have the following properties
ID
DESCRIPTION
COSTPRICE
SALEPRICE
WHR
SUPPLIER
I wish to display the following properties in my control
ID displayed in CUSTOMCOLUMN_Label (column0)
DESCRIPTION displayed in CUSTOMCOLUMN_Label (column1)
COSTPRICE displayed in CUSTOMCOLUMN_Label (column2)
SALEPRICE displayed in CUSTOMCOLUMN_TextBox (column3)
WHR displayed in CUSTOMCOLUMN_TextBox (column4)
When the user clicks update button I want to update my object of type
clsStock so that
SALEPRICE = value displayed in CUSTOMCOLUMN_TextBox (column3)
WHR =value displayed in CUSTOMCOLUMN_TextBox (column4)
In another application of this control it may be the case that clsOrder &
clsOrder_COL are the classes that bind to my datagrid and when I click
update, the value in column3 may update the QUANTITY property of my
clsOrder class and column7 may update property DISCOUNT of my clsOrder
class.
So I am looking for an example of a generic way of updating my custom
collections from my (datagrid) control.
tia
Terry Holland
3.Compiling Java code within a C# made program,,,,,
Hi,
I'm coding a C# Win Application. Somehow we need to let the "end-users" of
our application to write some Java code in one of our app's winform called :
"Coding".
What I would like to do is to have a button that compiles that code and if
there are errors to show them up,,,,, So far I'm planing to use the Sun
javac.exe.
So my question is " Does anyone know how to call JavaC.exe & retrieving the
errors/messages without running JavaC.exe "myClass.java" through a console
window ??"
Thank You in advance.
PS:
what is given is that my team prefers to compile java code through Sun JavaC
(1.4.2) rather than J# compiler.
4.Changing my clock makes my app not compile?
Maybe try doing a Clean then Rebuild??
Tony K.
"Scott McNair" < XXXX@XXXXX.COM > wrote in message
news: XXXX@XXXXX.COM ...
> I'm writing a routine that does some cleanup whenever it senses a change
> in
> the date. The only way to test my code is to set the date back to
> yesterday at 11:59pm and observe the change as it occurs.
>
> I did so, and noticed an error. So I altered my code to allow for the
> error and rolled the clock back a minute or two, so that it was back to
> 11:59 yesterday. The same behavior occured.
>
> So I put a MsgBox in the routine to alert me to what the value was for a
> couple of variables, and I re-ran the app. The MsgBox never ran.
>
> I moved the MsgBox to the very beginning of the routine. Still it
> wouldn't
> fire.
>
> I moved the MsgBox to the first line of the button event that fires the
> routine. Still the MsgBox wouldn't fire.
>
> I removed the MsgBox line, and added Exit Sub to the very beginning of the
> button event. The button still called the routine.
>
> I removed the Exit Sub line, and added MsgBox("loaded") to Form_Load. The
> MsgBox never fired.
>
> I reset the time to the current time and compiled, and everything worked
> fine.
>
> It seems as though .NET has some safeguard to keep you from compiling over
> a newer version with an older version. Am I correct in this assumption?
5.Adding key makes solution compile very slow
Hello,
I am adding a strong name to my assemblies in order to work with Enterprise
Services' Transactions.
When I add the strong name (with sn.exe -k), my compile time for a Rebuild
goes from 15 seconds to 3 minutes. This is for 1 solution with 11 projects.
Does anyone know if this is normal, or if there's an option to make it go
quicker?
Thanks,
Mark
6. Making my own command prompt
7. Compiling from the command line
8. how to compile web service in command line