Hi,
I am trying to create a very simple application in vc++ 6.0. I have a c# user control (all it contains is a button btnSomething) as below:
namespace CtrlLib
{
public interface IAcontrol
{
void SetButtonText();
}
public partial class AControl : UserControl, IAcontrol...
Hi,
I need a list of IDs in the where clause of my sql query which is encapsulated in my stored proc. Ex:
....
select * from table1 where col1 in ('a','b','c'....)
...
These values ('a','b','c'....) can be fetched from a dynamic select query whose where clause I am sending as a paremeter to...
Hi, I have a vb application which is run to disable a particular NIC(network Interface Card) when the windows is started. When the windows is shutdown, the program is to detect if the NIC is enabled and disable it, if so.
I would like to know how to call the program when the windows shutdown...
Hi,
My webservice is currently deployed on WIndows 2000 server and runs pretty fine. I am trying to run my webservice on a Windows 2003 server. My webservice tries to write to a eventlog. The code is as follows:
System.Diagnostics.EventLog Log = new System.Diagnostics.EventLog( EventLogName )...
Hi,
We have the VSS installed in the dev server, where our web resides. Since there was a space crunch, we decided to attach a hard disk and move the vss from the C drive to the new E drive. There were no specific instructions by microsoft on moving VSS from one drive to another on the SAME...
Hi,
I am having an asp page where there is a form within which there are some textboxes and some hidden elements along with a few buttons. On clicking on one of these buttons, the form gets posted to another page. When i try to retreive the Request.form collection, I sometimes do not get...
I have a table name d tblAttribHistory. This table contains columns "attribid", "attribtype", "languageid", "attribname", "validfrom" and "orgid". The prmary key comprises of "attribid", "attribtype"...
Hi I am getting this error "006~ASP 0173~Invalid Path Character~An invalid character was specified in the Path parameter for the MapPath method.", while using the Server.MapPath function. Can anyone tell me what all characters are not supported by this function or does Microsoft has...
I need to convert the date from a datetime field of a table in sql server to the format "dd/mm/yyyy hh:mm:ss". Can anyone help me out.
Regards
Lopa
Hi,
I have a textbox in a page. I want to track the onchange events and populate a global variable. But in IE 5 I am facing some problem. The event doesnt fire. I have no idea about the solution. Could anyone help me out.
Also i cannot use the onblur event (which seems to be working fine) as...
Hi,
I have a whole bunch of frames containing frames.. I have declared a variable as var flgChanged = 0; in the topmost frame. I am setting this flag to 1 in the bottomost frame by window.top.frmaes[0].flgCHanged = 1;
Then I am trying to reset this flag from one included js file in the...
Hi,
I have a textbox in a page. I want to track the onchange events and populate a global variable. But in IE 5 I am facing some problem. The event doesnt fire. I have no idea about the solution. Could anyone help me out.
Also i cannot use the onblur event (which seems to be working fine) as...
Hi,
I have a whole bunch of frames containing frames.. I have declared a variable as var flgChanged = 0; in the topmost frame. I am setting this flag to 1 in the bottomost frame by window.top.frmaes[0].flgCHanged = 1;
Then I am trying to reset this flag from one included js file in the...
Hi,
How can I implement the regular expressions in VB in a way so that the result set gives me all the invalid characters in a word.
To explain:
I have a word "ABC%DEF~GHI^JKL#MNO"
I want to find out what all invalid characters are there in the word, given that "%"...
I have created an object in my vb project which is named TaskObject.
This TaskObject has a property Resources which should contain an array of strings.
I need to set an array to strings to this property and also retrives the same at some point during the app.
The following is muy code :
but i...
Hi all,
I'm writing an intranet application that I need everybody
on the domain to be able to login to. I've enabled
Integrated Authentication, and am having a problem getting
it to work. For some reason, only members of the "Domain
Admins" group can login to the application. I...
Hi All,
I have a web application running under "Windows Authentication" mode
developed using ASP.NET.
I never had any issues or problems with the authentication on my test
and development machines.
But when I deployed my application on production box.
I am not able to access any aspx...
Can anyone tell me how to sort files in a folder according to the creation time or modification time through asp.net
As of now, i am just fetchning and displaying the file names. But i need to display them in a sorted order, latest files first.
My code :
Dim objDirInfo As DirectoryInfo
Dim...
I am using a user control to list a couple of files
dynamically generated by the user. Now if the user wishes
to download any file, he just needs to click on that link
which submits the parent page(in which user control is
embedded) to the server while updating a hidden variable
value to...
hey i have a slight problem with dotnet file download. can you help me out. I am downloading a file by clicking on a likn in an aspx page. that i do by using the code:
Sub DownloadSelectedFile()
Dim strFilename As String = Request.Form("h_uc_Filename")
Dim fileInfo As FileInfo
Dim...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.