|
Yes, thanks, I found it in the end.
Theres a good artical on it on WikiPedia
Many thanks anyway,
Aaron
|
|
|
|
|
Hi all,
In my application user can upload some images on server, if user upload single image on server (it's no problem, uploaded) but if user try to upload multiple images on single time so it creates a problem , so how can i achive this task.
and also how i can check one by one and save this images on database....
i m using Asp.net...
thanx
Sajjad
|
|
|
|
|
Can we use multiple input file elements?
|
|
|
|
|
Hello,
I have done such a task in my project. Try following.
Dim b1(file1.PostedFile.InputStream.Length - 1) As Byte
Dim b2(file2.PostedFile.InputStream.Length - 1) As Byte
file1.PostedFile.InputStream.Read(b1, 0, file1.PostedFile.InputStream.Length)
file2.PostedFile.InputStream.Read(b2, 0, file2.PostedFile.InputStream.Length)
Dim strimage1type = file1.PostedFile.ContentType
Dim strimage2type = file2.PostedFile.ContentType
Dim parmBlob1 As New SqlParameter("@image1", SqlDbType.Image, _
b1.Length, ParameterDirection.Input, False, 0, _
0, Nothing, DataRowVersion.Current, b1)
Dim parmBlob2 As New SqlParameter("@image2", SqlDbType.Image, _
b2.Length, ParameterDirection.Input, False, 0, _
0, Nothing, DataRowVersion.Current, b2)
cm.Parameters.Add(parmBlob1)
cm.Parameters.Add(parmBlob2)
Might be helpful.
anil
|
|
|
|
|
Hi,
Can we add web user controls to the intellisense in visual studio .net.
Thanks
Muzammil Ahmed
|
|
|
|
|
In the VS 2003, the web user control only supports the intellisense in the code editor, while the VS 2005 supports both in design view and in code editor.
|
|
|
|
|
Help!
I would like to know. I am running VS 2005 beta with SQL 2005 beta. When running the Website Admin tool to create roles and users the site keeps on saying enter a different password. I do not know how to get past that.
Does anyone else have this problem?
thx
Illegal Operation
Making Computer Software Talk
|
|
|
|
|
I have a web site that I open on a remote server over a mapped network drive in VS2005.
It has subdirectories about three or four levels deep, with maybe 100 directories altogether.
When I try to build the web project, I get the following error:
W:\rootdir\subdir\subdir\subdir\subdir\web.config(0): Build (web): An error
occurred loading a configuration file: Failed to start monitoring changes
to 'W:\rootdir\subdir\subdir\subdir\subdir' because the network BIOS command
limit has been reached. For more information on this error, please refer to
Microsoft knowledge base article 810886. Hosting on a UNC share is not
supported for the Windows XP Platform.
I referred to the kb article and did what it said, and even restarted the computer. I am hosting on a mapped drive, not a UNC share.
Is there any way around this? VS seems to be monitoring changes on every single directory in the web, which is a large number of connections.
If I try to "Exclude from project" all the files I don't need ASP.NET to deal with, they get renamed with a ".exclude" extension - which is worthless.
Arrrgh!
Thanks
Mike
|
|
|
|
|
Hi, everybody,
Can I use asynchronous call to a web service without a callback function(null)?
Because I have a web service need to run a very long time, I just want to fire it up and then I will check the result manully later.
Waiting online!!
Thanks a lot!
Alan Shen
MCAD for .NET Version
^~^~^~^~^~^~^~^~^~^~^
Great idea is the beginging of success!
|
|
|
|
|
Hi,
When we are using XmlHttpRequest to get and submit data with the webserver, please advise what would be the modus operandi to handle concurrent requests.
We would be using a syntax similar to
req = new XmlHttpRequest();<br />
req.onreadystatechange() = function()<br />
{<br />
<br />
}
This req object would be erased before it the function returns for the next call.
How would be go about declaring dynamic req object in JavaScript.
Any pointers...
Vasudevan Deepak Kumar
Personal Web: http://www.lavanyadeepak.tk/
I Blog At: http://deepak.blogdrive.com/
http://deepakvasudevan.blogspot.com/
|
|
|
|
|
Keep in mind the behavior of closures in JavaScript. The anonymous function declared in this manner:
req.onreadystatechange = function()
{
}
will still have req in scope as long as it exists (which is for the life of the actual request).
So, you could do something like this without problems:
function MakeRequest(request)
{
var req;
if ( !window.ActiveXObject )
req = new XMLHttpRequest();
else
req = new ActiveXObject("Microsoft.XMLHTTP");
req.onreadystatechange = function()
{
if ( req.readyState == 4 )
{
var title;
if (req.responseText.match(/<title>([^<]*)/))
title = RegExp.$1;
alert("Request: \n\t" + request + "\nLoaded:\n\t" + title);
}
}
req.open("GET", request, true);
req.send(null);
}
|
|
|
|
|
Hi, everybody!!
I'm doing a project on C# web application. I need to design a web page and a search engine. I need to design a search engine using the calendar to select the particular date we have click. I have drag and pull the calendar icon. Anyone could tell me the code that if i select on the date i've choose it will show me the database. Anyone who can help me with this. I have stuck here for a long time. Thank! Your help will be appreciated..
Cheers!
|
|
|
|
|
i added a combo box on page have two values "NIC" and" Passport NO".i want that when user select nic nic form field display and when passport select passport no field display in same on same position. Initially both fields are hidden.how i achieve this task
|
|
|
|
|
I have modifed DTC configuration. checked allow remote client
Gave full rights to windows\temp directory
installed all the service packs for sql and windows
I logged in as administrator
while configuring the biztalk 2004 server i got the following error.(clean build)
Following is the error transcript. Please help me to solve the following problem
[7:00:41 AM Error BtsCfg] c:\depot4000\jupiter\source\private\mozart\source\setup\btscfg\btswmi.cpp(266): FAILED hr = c0c025b3
[7:00:41 AM Error BtsCfg] Failed to deploy BizTalk system assembly "C:\Program Files\Microsoft BizTalk Server 2004\Microsoft.BizTalk.GlobalPropertySchemas.dll".
[Microsoft.BizTalk.Deployment.DeploymentException] [System.Data.SqlClient.SqlException] Failed to load msxmlsql.dll.
[System.Data.SqlClient.SqlException] Failed to load msxmlsql.dll.
[Microsoft.BizTalk.Deployment.DeploymentException] [System.Data.SqlClient.SqlException] Failed to load msxmlsql.dll.
[System.Data.SqlClient.SqlException] Failed to load msxmlsql.dll.
[7:00:41 AM Error BtsCfg] c:\depot4000\jupiter\source\private\mozart\source\setup\btscfg\btscfg.cpp(762): FAILED hr = c0c025b3
[7:00:41 AM Info BtsCfg] Leaving function: CBtsCfg::ConfigureFeature
[7:00:43 AM Info ConfigFramework] Waiting for configuration thread to complete.
[7:00:54 AM Info ConfigFramework] Waiting for configuration thread to complete.
[7:01:05 AM Info ConfigFramework] Waiting for configuration thread to complete.
[7:01:06 AM Info ConfigFramework] Showing MessageBox with text: Failed to deploy BizTalk system assembly "C:\Program Files\Microsoft BizTalk Server 2004\Microsoft.BizTalk.GlobalPropertySchemas.dll".
[Microsoft.BizTalk.Deployment.DeploymentException] [System.Data.SqlClient.SqlException] Failed to load msxmlsql.dll.
[System.Data.SqlClient.SqlException] Failed to load msxmlsql.dll.
[Microsoft.BizTalk.Deployment.DeploymentException] [System.Data.SqlClient.SqlException] Failed to load msxmlsql.dll.
[System.Data.SqlClient.SqlException] Failed to load msxmlsql.dll. Return Code: 2
[7:01:06 AM Error ConfigFramework] **********************************************
[7:01:06 AM Error ConfigFramework] *** Configuration failed - Rolling back... ***
[7:01:06 AM Error ConfigFramework] **********************************************
[7:01:06 AM Error ConfigFramework] Configuration failed - rolling back...
[7:01:06 AM Info ConfigFramework] Retrieved cached IConfig object for feature: WMI ProgID: MSEBiz.BtsCfg
[7:01:06 AM Warning ConfigFramework] Rolling back feature: BizTalk WMI
[7:01:06 AM Info BtsCfg] Entering function: CBtsCfg::UnConfigureFeature
[7:01:06 AM Info BtsCfg] Unconfiguring feature: WMI
[7:01:06 AM Info BtsCfg] Entering function: CWMI::Connect
[7:01:06 AM Info BtsCfg] WMI is already connected
[7:01:06 AM Info BtsCfg] Leaving function: CWMI::Connect
[7:01:06 AM Info BtsCfg] Entering function: CWMI::DeleteServer
[7:01:06 AM Error BtsCfg] c:\depot4000\jupiter\source\private\mozart\source\setup\btscfg\btswmi.cpp(1236): FAILED hr = c0c024bf
[7:01:06 AM Error BtsCfg] The server has not been configured.
To configure the server, type the following at a command prompt:
ConfigFramework.exe
[7:01:06 AM Info BtsCfg] Entering function: CWMI::UnConfigureGroup
[7:01:06 AM Info BtsCfg] Leaving function: CBtsCfg::UnConfigureFeature
[7:01:06 AM Info ConfigFramework] *************************
[7:01:06 AM Info ConfigFramework] *** Rollback complete ***
[7:01:06 AM Info ConfigFramework] *************************
[7:01:06 AM Info ConfigFramework] Configuration complete.
[7:01:06 AM Info ConfigFramework] Configuration thread finished.
[7:01:06 AM Info ConfigFramework] Configuration thread has ended.
[7:01:06 AM Info ConfigHelper] Retrieved INSTALLDIR: C:\Program Files\Microsoft BizTalk Server 2004\
Chakrapani Ramachandran
|
|
|
|
|
hi
i have a locally created web site created with visual web developer 2005.
i have also instaled IIS and now i want to deploy my web pages onto my own PC
that is i want to make my pc a web server,
could any body tell me in this regard
?
?
thanks
|
|
|
|
|
just simply copy all aspx and dll files
<< >>
|
|
|
|
|
m_amin83 wrote: have also instaled IIS and now i want to deploy my web pages onto my own PC
Create a virtual directory under the IIS, and map it to your application, and then pay for a domain name, and try Microsoft windows 2003 server[^], and configure it .
------------------------------ "The Soapbox has been so ..."
|
|
|
|
|
I would like to add contact details to the client's outlook address book in asp.net. In ASP.Net, as the click of the button runs on the code on the server side, it is becoming a problem for me. How to achieve this using client side code?
|
|
|
|
|
Hiya all.
I have an issue with Internet Exploer which I was wondering if others had experienced as well.
I have a page which loads in a number of thumbnails. These thumbnails are placed in some div tags which are hidden (display:none;visibility:hidden;) - when clicking a link they are then shown. Simple - if it weren't for Internet Explorer.
For some reason - possible because the page is to large, or something I'm not sure - IE doesn't show all thumbnails when the div is made visible again, instead you have to right click the image and choose "show image" which then loads in the image.
Have others experienced this behaviour and possible found a solution which doens't involve me having to recode the page (which I likely will have to because of this :/)
The "error" is not there in FireFox nor Opera, only in IE.
---------------------------
127.0.0.1 - Sweet 127.0.0.1
|
|
|
|
|
Alsvha wrote: display:none;visibility:hidden
Why both?
|
|
|
|
|
Just a habbit I guess. I suppose display:none; would suffice?
---------------------------
127.0.0.1 - Sweet 127.0.0.1
|
|
|
|
|
Well, it depends on your needs - the two styles have different effects. visibility:hidden; will hide the element but still allow it to occupy space in the layout, while display:none; will prevent it from affecting the layout as well as hiding it.
|
|
|
|
|
Yes, I know the difference between the two, but our designer usually just uses both at the same time, so I've adapted the habbit.
Anyways - doesn't really address my initial query, so it is moveing offtopic
---------------------------
127.0.0.1 - Sweet 127.0.0.1
|
|
|
|
|
Sorry 'bout that. I haven't run into the problem you're describing, was just curious about the technique.
|
|
|
|
|
No problem - I don't really mind off-topic posts, but I think it better to stay on topic in such forums as this
I fixed the problem by re-coding the page, though - but I'm still curious to what caused the effect
---------------------------
127.0.0.1 - Sweet 127.0.0.1
|
|
|
|