I meant windows form control and it actually does work with web environment. I can get it to work with .net framework 3.5 or earlier, but not .net framework 4, not even a simple hello world control. What are my choices? I am willing to try anything.
awu25
Posts
-
Create ActiveX control with .net 4.0 -
Create ActiveX control with .net 4.0I have also tried to use Windows Form control but still doesn't work. If both of them are obsolete what should I use to get client printer information through browser in an intranet environment?
-
Create ActiveX control with .net 4.0I have an ActiveX control for web created in .net 3.5. When upgrading the framework to 4.0 it stops working. I have tried to create a hello world activeX control with 4.0 and it wouldn't work either. Is it not possible to create ActiveX controls with .net framework 4.0? I have also tried to create windows form control for web but again it doesn't work.
-
Create installer with VS2005I have a windows app project that I need to create an installer for distribution. How do I do that? Do I need a third party software?
-
expander controlIs there an expander control for C# windows app?
-
Calling a method in another formI have two windows forms, FormPurchaseHistory and FormCustomer. FormPurchaseHistory opens up FormCustomer which displays a list of Customers in a DataGridView control. User clicks on a cell to select a customer and FormCustomer passes the CustomerID to FormPurchaseHistory and FormCustomer closes. There is a method in FormPurchaseHistoy I need to call after FormCustomer passes CustomerID to FormPurchaseHistory to retrieve purchase history by the customer. How do I fire that method? I am using a static variable in a Module to pass value from FormCustomer to FormPurchaseHistory.
-
VS 2005 schedule team buildCan anyone tell me how to schedule a nightly team build on VS 2005 foundation build server? Also, what should a release build do besides copying the compiled files to production server?
-
Visual Studio 2005 Team BuildCan anyone refer me to a site where I can learn more about how to use team build? Preferably if it has lots of examples. Thank you
-
Checkboxlist item spacingIs there anyway to specify the spacing between items in a check box list? I have multiple check box lists on my page and I want all items from all checkboxlists aligned.
-
Crystal Report System DateHow do I get the system Date in crystal report formula editor? This is what I want to do: Formula = DateDiff ("day",{sp_listPaidEventReg.dob} ,System date)
-
Unable to delete/modify cookieI have a cookie that has been set a value and expiration date to be a year from the date created. I am not able to change or delete the cookie. below is my code: private void RDCookie() { Request.Cookies.Remove("SaveEmail2"); Response.Write(Request.Cookies["SaveEmail2"].Value); } The second line will fail because the cookie was removed before it could be displayed. However, if I have this: private void Page_Load() { Request.Cookies.Remove("SaveEmail2"); } and a button click event: private void Button1_Click(object sender, System.EventArgs e) { Response.Write(Request.Cookies["SaveEmail2"].Value); } it'd still display the value. Same thing with modifying the cookie value. If I read the cookie value immediately after modification it shows the new value but after I refreshes the page the value is changed to the old value.
-
Crystal Report Logon FailedThis is my first Crystal Report with .net and don't know why I am getting this error. Have been researching for a solution all day. Hope someone can help. Here is my code just to test the connection but always fails. CrystalDecisions.Shared.TableLogOnInfo LogonInfo = new CrystalDecisions.Shared.TableLogOnInfo(); CrystalReport1 Rpt = new CrystalReport1(); CrystalReportViewer1.LogOnInfo = new CrystalDecisions.Shared.TableLogOnInfos(); LogonInfo.ConnectionInfo.ServerName = "MyServer"; LogonInfo.ConnectionInfo.Password = ""; LogonInfo.ConnectionInfo.DatabaseName = "TestDB"; LogonInfo.ConnectionInfo.UserID = "sa"; Rpt.Database.Tables[0].ApplyLogOnInfo(LogonInfo); Response.Write(Rpt.Database.Tables[0].TestConnectivity());//-------this returns false
-
ASCII CodeIn my ASP 3.0 page i have this in my function replace(str,chr(13), "
") where str is the input string. What is the C# equivalent of the chr(13)? -
Is there a VB Fix and Int functions equivalent in C#?I need to retrieve the interger part of a number.
-
utf-8 in asp is different from utf-8 in aspxI am upgrading my site form asp 3.0 to .net. Both charset are set to utf-8 but datas entered with 3.0 are not readable by aspx and vice versa. With asp3.0 I never used the N' in my sql statement but the page can save and read data fine. Some of the columns are not event set as nvarchar type, just the regular varchar and the data is still readable by asp 3.0. With aspx I need to both set the column type to nvarchar and use the N' in the statement. Since they are both utf-8 I can't really use the converter I have to convert the encoding. Does anyone have any soultion to my problem? Any response is appreciated.
-
Replace Method case insensitiveThis is what I do with ASP3.0. If a user enters "This is green color" I want to first search if the word "green" color exists then replace the word "green" with <font color=green>green</font>. When searching for the word I don't need it to be case sensitive and when replacing the word I want to preserve the case. For exmple, if user enters "This is GrEEn color" I want to replace the word GrEEn with <font color=GrEEn>GrEEn</font>. This is pretty easy with VB's case insensitive instr and replace but I can't seem to find a simple solution in C#
-
Chage row color, image on conditions and a default string if emply in DatagridI am trying to do something like yahoo emial. If the email has not been read display the row in white and image "A" at beginig of the row else display in light blue and display image "B" If the subject line is empty then display a string "none" so user can have something to click on to read the email. Is this possible with datagrid? If not please let me know so I don't have to waste my time trying to find a solution for an unsolvable problem.
-
string.indexof equivalent function but case insensitiveI know there must be a simple answer but I am new to C#(from VB). Is there a function equivalent to string.indexof but is not case sensitive?
-
Move files from a web server to another web serverIt worked!!! Thank you thank you thank you for your help!!!
-
Move files from a web server to another web serverAnd the code behind class name "test1" is correct and it runs fine on my computer(developement computer).