|
I'm not sure how to fix the column to auto fit, but you can format the data before writing it to Excel to fix the issue with the number showing in scientific notation. Here[^]is an article that may help.
|
|
|
|
|
I work for a small company where a C# web form 2010 application was written. My job is to make enhancements to the application since I have limited C# web experience.
For now I just want to deploy the production code to my workstation and run the website on my workstation using IIS 7 that is compatible with IIS6.
When I look at the deployment project file in this application, I see debug and release folders that contain the setup.exe and application.msi files.
However from the ways I have been trying to deploy the application, I do not the setup.exe and application.msi files.
I have probably been using the web deploy item that comes with Visual studio.net 2010 professional edition. I also wanted to mention, the network administrator does not have 'web deploy' installed on the production server.
Thus can you tell me and/or point me to a reference where I can setup a deployment project the way the contract shop does?
|
|
|
|
|
|
Do you have the source code? Have you tried just opening the source code in Visual Studio?
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Since I am new to working with IIS and communicates with a C# web form 2010 web application, I have a few questions to ask about how to test the web application with IIS. The IIS I need to work with is IIS 7 that needs to be compatible with IIS6. (This is due to the web application I am working uses meta data files.) Of the ways to work with IIS , I do not think I want to use IIS Express as the web server since IIS EXpress is version IIS 7.5 and above and I want to use IIS 6.
Of the options I am listing below, I would like to know what the better option is and how to accomplish the tasks on my own workstation:
1. I would will use Cassini to test the web application. I will then deploy the web application to IIS on my own workstation and test the web application. How can I accomplish those tests separately? (Note: the network administrator at my small company has already installed IIS for me. (Note: I have not setup IIS to communicate with the web application yet.)
2. I would use IIS as the test web server on my workstation.
Thus can you tell me and/or show me references on how to accomplish these goals?
|
|
|
|
|
You do not need to place your question in <pre> tags. That is only for code snippets. Please edit your question to remove the unnecessary formatting and make it easier to read.
Failure is not an option; it's the default selection.
|
|
|
|
|
This is happening a lot recently. I think it may be a CP problem and have reported it to Chris.
Binding 100,000 items to a list box can be just silly regardless of what pattern you are following. Jeremy Likness
|
|
|
|
|
You don't need to test using Cassini and then test again using IIS on the same machine, do you? What are you trying to accomplish?
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Hi
Need to know how to connect to Oracle (11g) database from Log4net.config (using appenders) file. As I need to wright the logs to the Oracle (11g) database when any user logon to the web application.
Note: I am succesfully able to wright the logs to the text files but not able to wright the logs to the Oracle (11g) database.
Any help is greatly appreciated.
Regards
Bala
|
|
|
|
|
You do not need to place your question in <pre> tags. That is only for code snippets. Please edit your question to remove the unnecessary formatting and make it easier to read.
Failure is not an option; it's the default selection.
|
|
|
|
|
hi folks,
i am developing a new webapplication, in which i need to show entered text as hindi font but on type my page is still showing text in english.
here is the code:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="test.aspx.cs" Inherits="test" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:TextBox name="txt1" value="Search Our Website…" runat="server" Font-Names="Mangal" onfocus="this.value=(this.value=='Search Our Website…')? '' : this.value ;" TextMode="SingleLine" />
</div>
</form>
</body>
</html>
modified 27-Apr-12 4:52am.
|
|
|
|
|
|
i wrote some code to control an ip device, i made in windows forms application , silverlight and asp.net, they all work on the local network , but won't work from internet ON web server, i have the router forwarding to local device ip and port,
i tested the forms application from outside the lcal network and it works ok.
i get this error:
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 226.45.306.158:4999
here's the code used
Private Function SendRelayCommandTest(ByVal e As String) As String
Dim IPHostCC1 As String = "226.45.306.158"
Dim IPHostPort As Integer = 49989 Dim tcpClient As New System.Net.Sockets.TcpClient()
tcpClient.Connect(IPHostCC1, IPHostPort)
Dim networkStream As NetworkStream = tcpClient.GetStream()
Dim strResponse As String
Dim strCommand As String
strCommand = e
strResponse = "No response"
Try
If networkStream.CanWrite Then
Dim sendBytes As [Byte]() = Encoding.ASCII.GetBytes(strCommand & vbCr)
networkStream.Write(sendBytes, 0, sendBytes.Length)
Dim bytes(tcpClient.ReceiveBufferSize) As Byte
networkStream.Read(bytes, 0, CInt(tcpClient.ReceiveBufferSize))
Dim returndata As String = Encoding.ASCII.GetString(bytes)
strResponse = "Return: " & CStr(returndata)
Else
If Not networkStream.CanWrite Then
strResponse = "Error: Cannot write data to the Relay device"
tcpClient.Close()
End If
End If
Catch ex As ArgumentNullException
strResponse = "ArgumentNullException: " & ex.Message
Catch ex As SocketException
strResponse = "SocketException: " & ex.Message
Catch ex As Exception
strResponse = "Exception: " & ex.Message
Finally
tcpClient.Close()
networkStream.Close()
End Try
Return strResponse
End Function
is there a diffrent method to use over internet ?
Thanks
|
|
|
|
|
Sounds like you are being blocked by firewall or the IP is not public.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
hello
i can use the winforms application from outside the network.
George
|
|
|
|
|
Can any one plz help me with the code behind the search button with asp.net in VB. I want make a simple engine & the result displays like it does in google. It can search from the web or our database. Pls help its urgent.....
Thank You in advance
|
|
|
|
|
Don't post the same question twice and never, ever say it's urgent or use txtspk.
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
nils illegitimus carborundum
me, me, me
|
|
|
|
|
+5
Can not see the reason for giving your answer a 1?
Must be a case of penis-envy...
|
|
|
|
|
egenis wrote: Must be a case of penis-envy...
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
nils illegitimus carborundum
me, me, me
|
|
|
|
|
Sure, write the code to search a db as well as use a google service. What exactly are you struggling with?
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Can any one plz help me with the code behind the search button with asp.net in VB. I want make a simple engine & the result displays like it does in google. It can search from the web or our database. Pls help its urgent.....
Thank You in advance
|
|
|
|
|
Start here[^].
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
nils illegitimus carborundum
me, me, me
|
|
|
|
|
Hi All,
I have an asp.net application in which I am writing some html text on to a pdf file and then reading that file as byte array back using file stream.
Then that byte array I am sending as an email attachment, so the attachment is going as a pdf file. Can anybody please help me to read the same as byte array without storing it as a file. Means that byte array I should get as if I am getting from pdf file.
Can anybody please help me in that, any link, or any code snippet help me greatly. Please help me its very urgent. Thanks in advance.
Thanks & Regards,
Abdul Aleem Mohammad
St Louis MO - USA
|
|
|
|
|
Start here[^].
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
nils illegitimus carborundum
me, me, me
|
|
|
|
|
Hi,
I want to read the string as if I am reading from pdf, is there any way to convert the memorystream as if we are reading from pdf.
Thanks,
Abdul
Thanks & Regards,
Abdul Aleem Mohammad
St Louis MO - USA
|
|
|
|