|
I use visual studio .net to develope a website. I have run the project on my local machine and it works fine, and all the requiredvalidators and rangevalidators work correctly.
To upload the site to the remote server, which is actual host of the site, I compile .dll files and put both .dll and .aspx files onto the remote server and access the site from actual web url, all the validators do not work at all. For example, a form with several required fields can be submit even when all the fields is empty.... I have no idea what I missed.
Could anyone here help me out?
Thanks in advance.
|
|
|
|
|
Did you just FTP the files into place or did you actually make a Setup Project for it an deploy that to the production server and run it?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I just FTP the files into the wwwroot folder on the remote server. I did't do Setup stuff. All the projects I have done are in ASP. This is my first asp.net project, I really don't have ideas about how to setup remote server running environment. How should I setup it? Could you please give me some details?
Thank you very much!
|
|
|
|
|
I got the solution to my problem from 4guysfromrolla.com
The problem is
aspnet_client\WebUIValidation.js on the remote server was missing.
|
|
|
|
|
I have made an installer with third-party tool "Setup Factory 6". After installing when I run application it causes an error about Object Initialization of some control. I have analysied all the dependencies and included them in installer.
Any solution?
Shoaib Nawaz
|
|
|
|
|
You'd be much better off asking this on a board that supports Setup Factory, like SetupFactory.com.
I use Wise for Windows Installer myself.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I get an error "Operator '=' is not defined for types 'System.Drawing.Color' and 'System.Drawing.Color'"
I am trying to do this:
if lblslots.BackColor = System.Drawing.Color.Red then
endif
Not a real big deal if I do not get an answer, more curious than anything else...
|
|
|
|
|
It's correct, there is no "=" operator defined for the Color structure. There is a method called Equals() though:
If lblSlots.BackColor.Equals(Color.Red) Then
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
DO u guys know How to transfer crystal report group tree into pdf bookmarks while exporting?
Help is appreciated.
|
|
|
|
|
HELP!!!!!!!!!!!!!!!
CAN YOU HELP BY PROVIDING CODE FOR CONVERTING TEXT FILE
INTO SQL TABLE USING VB.NET.
please post codeing as it is urgently required.
MY E-MAIL address as mention below.
u_rock100@rediffmail.com
|
|
|
|
|
This isn't as "generic" an operation as your question implies.
You have to write the code to open a text file, and read it, line-by-line. OK. This is pretty simple.
Hears the simple, but oh-so-tedious part. Each one of those lines has to be parsed up into the various fields that your require and put into variables to validate and hold those values. Once you have to data in those variable, you would probably run a stored procedure on teh SQL server, passing in those variables, to add the new data to whatever tables you need it to.
Back to very simple again, when you done reading the file, close it.
Writing this for you is out of the question. That's not how this forum works. If you want it written for you, go to www.rentacoder.com and spend way-too-much money to have someone do it for you.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I'm writing a simple Windows App with one form - Form1.
I want to automatically close this form upon the execution of some code - not a click event or any other user-initiated event. I need some ideas. Once control has passed from the code to the form (Sub New() and InitiateComponent), I'm stuck.
I've tried using Form.Close, and MyBase.Close and Application.Exit. It may be that I'm placing these in the wrong sequence.
|
|
|
|
|
Perhaps I'm not understanding your question, but Me.Close worked just fine. Created a new windows application, dropped one button on the form:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e _
As System.EventArgs) Handles Button1.Click
Me.Close()
End Sub
Ran it, clicked the button, program ended. I think in .NET your application is active as long as there is any form loaded, even if you close the "main" form.
-- modified at 11:27 Tuesday 11th October, 2005
Nope, just checked, if you close the main form the program ends even with another form loaded.
|
|
|
|
|
I take it your trying to close the form from its own Load event? You can't. A form cannot close itself from inside its own OnLoad event.
If you're doing some processing to determine if the form needs to be show, do it before you even instantiate the form. The form should be responsible for all of the input and processing of certain data. It should not be responsible for determining if it should be shown at all. This is business logic that should not be in the User Interface layer.
If you're trying to show status information on a form during processing, consider rewriting this code into it's own class that exposes events that a UI layer can use and show any which way it wants.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
dim frm1 as new form1
frm1.topmost = true
frm1.show
'process
'process
'process
'process
frm1.close
or
create a seperate sub from the from-load event
then call the sub
like so
Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Call CLOSEME()
End Sub
Sub closeme()
Me.Close()
End Sub
hope it works
Marvin N. Guerrero
- Taje Kage_bunshinNunJutsU
|
|
|
|
|
dont mind can u pas the same to me if u get the rep.
|
|
|
|
|
s, i got some idea.
y cant u v try Timer controls in this regard.
i think it vil help us a lot.
|
|
|
|
|
Hi,
i would like faced a problem which is, There is one datatable contains records. There is one thread which downloads the files depending upon this data table. Here oen thread downloads a file one at a time. i want to downloads 2 files at a time. how it is possible. help me with code
Thanks & Regards
Srinivas
|
|
|
|
|
in vb.net
dim a,b,c as integer
b=10
a=b=5
msgbox a 'output is 1 why because of boolean or not
himanshu
|
|
|
|
|
I just cut and pasted your code into a new project and the Message Box came up with 0, changing your code to:
<br />
Dim a, b, c As Integer<br />
b = 10<br />
a = b = 5<br />
MsgBox(CBool(a))<br />
Returns False , which I would expect.
Cheers
Tom
|
|
|
|
|
sure it is boolean, you can define a as string to have a try. obvious you give a the value b=5 .
I am Entry level person
|
|
|
|
|
he he he.
just curious.
what are you trying to do?
I tried the snippet and i got an output of 0
given b = 10
.... b = 5 is false
... cint(false) is 0
... cint(true) is -1
anyway
try typing
Option Strict On
at the top of your code and youll get "Strict Option On disallows implicit conversion from "Boolean" to "Integer""
just said it in case
Marvin N. Guerrero
- Taje Kage_bunshinNunJutsU
|
|
|
|
|
can you tell me how to make a message or a text that call from a window service , code in VB.net
|
|
|
|
|
You're service has to be tagged to work with the desktop. Go into the Services manager, select your service and get Properties on it. Then click on the Logon tab and check the box labeled "Allow service to interact with desktop".
After that, you're service can put up dialog windows and MessageBoxes all you want.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I do like you say , with log on as Local System and check to "Allow service to interact with desktop" , but it do not show message ,
Why it be show , tell me more please .
Thanks
|
|
|
|