13,936 Topics

Member Avatar for
Member Avatar for dotNetDummi

Hi experts, I have a task to print some data into a word document .I need to set the word document to readOnly. It's working but user still can edit. Is there any thing I can do whereby user cannot edit the document? [CODE]// Word.ApplicationClass oWordApp = new Word.ApplicationClass(); // …

0
74
Member Avatar for Wiizl

OK, one last thing. Now I have 3 textboxes and here's what I wrote: [CODE] SqlConnection conn = new SqlConnection(); conn.ConnectionString = "data source=.;initial catalog=ForumDataBase;integrated security=true;"; SqlCommand cmd = new SqlCommand(); cmd.CommandText = "INSERT INTO PostTable(ThreadTitle,PostMessage,UserName) values('"+ThreadTextBox.Value+"','"+PostTextBox.Value+"','"+NameTextBox.Value+"')"; cmd.Connection = conn; conn.Open(); cmd.ExecuteNonQuery(); conn.Close(); [/CODE] Can you please tell me what's …

Member Avatar for Wiizl
0
118
Member Avatar for kobi

Hello there, How can i load an xml file,to treeview control and show it in my html page? Thanks

Member Avatar for alc6379
0
102
Member Avatar for jonathan.jbkt

I develop and host several .NET 1.1 and .NET 2.0 applications. I am having an intermittent problems that I can't nail down a problem to correct the issue. My applications are hosted on a Windows Server 2003 box that I host. The applications will randomly hang when I try to …

Member Avatar for alc6379
0
74
Member Avatar for thithi

Please help me " System.Data.SqlClient.SqlException: Prepared statement '(@Name varchar(100),@Describes varchar(100),@Money char(10))Upda' expects parameter @Describes, which was not supplied. at System.Data.SqlClient.SqlCommand.ExecuteReader(Com mandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at Assignment.rose.dtgFlower_UpdateCommand(Object source, DataGridCommandEventArgs e) in c:\inetpub\wwwroot\assignment1\rose.ascx.cs:line 111Error:Cannot update " This is the code "namespace Assignment { using System; using System.Data; using …

Member Avatar for alc6379
0
110
Member Avatar for AniWeb

hi all, I have a shopping cart page which shows the details that which product user has selected with what quantity. In this page when I click on any button like 'Continue shopping', I got an exception given below: Exception Details: System.ArgumentException: Invalid postback or callback argument. Event validation is …

Member Avatar for alc6379
0
72
Member Avatar for knowledgelover

hi there I have two web pages designed with ASP.net on VB I want to send parameter from the first to the second when I open it and I have this code in the first page : [I]Response.Redirect("second.aspx? name=" & usernametxt.Text())[/I] and then in the second page_load [I]stdnamelbl.Text = Request.QueryString("name")[/I] …

Member Avatar for alc6379
0
106
Member Avatar for benyam_dessu

Dear friends: I've copy the asp.net code from Unleashed book. I want to use this part of the code to take stored procedure rather than select statment. The stored procedure I write for is this: ********************************************************* CREATE PROCEDURE authenticatedUser ( @userName Varchar ( 20 ) , @userStatus Varchar (20), @userPassword …

Member Avatar for alc6379
0
68
Member Avatar for kapil.goyal

How a doc file can be open inside browser without prompting the download dialog box? when i have to open a pdf file its dirctly open in browser,how i can achieve same functionality for doc files?

Member Avatar for alc6379
0
127
Member Avatar for venkatesh_rvk
Member Avatar for alc6379
0
49
Member Avatar for benyam_dessu

Dear Colleagues: I want to separate interface design from its code (in my asp.net school project). So that , I'm trying to use a code-behind using vb.net. For example in my login page I provide the user with username and password input, then handle the user input from lgoin.vb file. …

Member Avatar for alc6379
0
122
Member Avatar for choudhuryshouvi

I've installed VS2005 in WinXp SP2. When i'm trying to run asp.net web application in my local machine i'm getting the following error:- [B][COLOR="Red"]"Unable to connect to visual studio's localhost web server."[/COLOR][/B] same type of thing is happening when i'm trying to open a windows form application. this time the …

Member Avatar for choudhuryshouvi
0
138
Member Avatar for shaik4321

hi , guys can any help me out in sending a text messages from bluetooth computer using a bluetooth mobile . i like to make it clear guys, i would be composing a message using a bluetoothcomputer and that message should be reaching the destination by taking help of bluetooth …

0
47
Member Avatar for Wiizl

Hello guys! So here's the problem. I'm making kinda simple forum and I'm using SiteMapPath to navigate through sections and threads. Like HOME>>Programming>>SomeThread. But that's not important... Also I have database with 3 tables. One with SectionID and SectionTitle, other one with ThreadTitle and SectionTitle , and the third table …

0
75
Member Avatar for knowledgelover

hi there, I am designing ASP.net over VB I have a linkButton in the master page and it is disabled, in the login page the login Button must enable that linkButton when I use it immediately like this: stdMaster.ChangeModeBtn.enable(True) it does not work , it gives me something about the …

Member Avatar for greeny_1984
0
64
Member Avatar for rregalad

I am working on an ASP.net 2.0 application written in C#, pulling data from an Oracle 10g database on a remote server (i.e. the application and database are on different servers). The data is pulled via a SqlDataSource control. When I run small, quick queries, everything works fine, but when …

Member Avatar for rregalad
0
158
Member Avatar for rregalad

I am working on an ASP.net 2.0 application written in C#, pulling data from an Oracle 10g database on a remote server (i.e. the application and database are on different servers). The data is pulled via a SqlDataSource control. When I run small, quick queries, everything works fine, but when …

Member Avatar for rregalad
0
122
Member Avatar for scm22ri

Hi Everyone, (I apologize for my terrible terminology) Do you know when you "wave" your cursor over a photo or a url link and it appears as I would like to put it "clickable" or the cursor changes into a "hand". My issue is this, on my site I have …

Member Avatar for greeny_1984
0
154
Member Avatar for knowledgelover

hi there, I have my gridview's columns are hyperLinks to another pages as follows: [B]<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CellPadding="4" DataSourceID="SqlDataSource1" ForeColor="#333333" GridLines="None" Height="149px" Style="z-index: 103; right: 47px; position: relative; top: 19px" Width="374px"> <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" /> <Columns> <asp:hyperlinkfield headertext="course_no"datatextfield="course_No" datanavigateurlfields="course_No"datanavigateurlformatstring="CourseEvaluationForm.aspx?courseNo=course_No" /> <[B]asp:hyperlinkfield headertext="course" datatextfield="course_name" datanavigateurlfields="course_name" datanavigateurlformatstring="CourseEvaluationForm.aspx" />[/B] <asp:hyperlinkfield headertext="Doc_name" …

Member Avatar for greeny_1984
0
140
Member Avatar for joekat

i developed a database application using vb 6, and made reports for end users using crystal reports developer edition XI, The problem is that when i created the setup file using VB Package and deployment wiz, the reports don't run on any machine except the one where the package has …

Member Avatar for joekat
0
98
Member Avatar for samandas

i want to validate text fields with out validate page and want to make a link

Member Avatar for knowledgelover
0
83
Member Avatar for noelma

hi all, i'm using a page called ShowImage.aspx in my project. The page's doing a crop for each picture and shrink them. when i show a picture in my another pages as above way, i can't delete them. File.Delete(Server.MapPath("path")) is not work. Error Message : ..... the file is using …

Member Avatar for noelma
0
114
Member Avatar for 3xxx

probably, all of you have seen this scenario a lot when entering customerID into a large database it takes AGES to bring back one simple record of a single customer === let's say, this has been DONE already , for tuning performance separate the CUSTOMERS table into 2 TBLcustomer1 -- …

Member Avatar for kb.net
0
181
Member Avatar for scm22ri

Hi Everyone, I'm new to this forum. I hope to learn a lot here. My first question is this, in affiliate marketing, how does one use the postback url feature in order to track affiliate sales ? Meaning if someone searches "Mobile Phones" & goes to my site and they …

Member Avatar for SheSaidImaPregy
0
937
Member Avatar for SANJISH

Hi, I am using vs 2005 asp.net/vb.net . My screens appear very small on the browser. How can i hide the IE toobars to get a full screen view of my pages ? Kindly help Regards SANJISH

Member Avatar for MidiMagic
0
95
Member Avatar for anand003

I have been waiting for the gallery module for Dotnetnuke to be released for a while. It seems that it may still take some more time. I would like to know if there are similar modules available that would allow me to do the following. 1. Users should be able …

0
55
Member Avatar for swaters86

I usually deal with front end stuff involving just xhtml and css, but I've been dabbling in vb lately...because I got this web dev job that requires it. My manager recognizes that I had no previous experience with vb, so he offered to help me on it whenever possible. Now …

Member Avatar for swaters86
0
157
Member Avatar for tnthomas

On my website, I have an Iframe open up when a user clicks 'run report' and then the iframe submits the information that is given to it from the initial page to parse the report through an xslt and then spit out a word document. I need to find a …

Member Avatar for tnthomas
0
81
Member Avatar for miryousafzai

Hello all, I am completely new to asp.net. I would like to learn it. Please guide me. 1. what are the main development tools that I can use.? 2. what is the system requirements for the tool.? 3. Can I download that tool for free. quick help will be greately …

Member Avatar for tnthomas
0
281
Member Avatar for ljf118

Really having trouble with UI design using AJAX and Web Dev Express 2005. Designing systems for 25 years and finding the latest and greatest the biggest pain in the ass to figure out since JCL. Anyway: I have been trying to put controls such as the Gridview into a <DIV> …

Member Avatar for alc6379
0
94
Member Avatar for Monali
Member Avatar for psdev

We are seeking to expand our team. We need .NET developers. Microsoft Gold Certified is preferred. Please contact us with your rates and examples of your work. info[AT]presidiostudios.com Thanks

0
52
Member Avatar for soniamehra83

I have created crystal report now i want to take printout of that page using c# with asp.net1.1. Can anyone help to comeout from this queries ? what code i have to write to take print of that page in pdf format?

0
52
Member Avatar for AniWeb

hi all, I have 2 Admin pages 'Add Coupons.aspx' and 'Add Products.aspx' in the following directory:- F:/billadelphia/[B]Admin[/B]/Add Coupons.aspx F:/billadelphia/[B]Admin[/B]/Add Products.aspx Both the above pages are using a master page. In the Master page Iam using a Stylesheet for applying design template to all pages. In the master page images is …

Member Avatar for nav33n
0
109
Member Avatar for knowledgelover

hello, I am designing a web site using ASP.Net over VB , and I need to have user login window, I 've had it from the control and the users specified from the ASP.net configuration but : I wonder if I can bind users from a table containing usernames and …

Member Avatar for knowledgelover
0
98
Member Avatar for SANJISH

Hi, I am developing an application in Visual Studo 2005 . I need to have a table with 4 rows and 4 columns. I am able to drag and drop the table control from the toobox, but for creating the rows and columns i have to write the <tr>,<td> blocks …

Member Avatar for SANJISH
0
78
Member Avatar for kak.mca

Hi, I'm doing one ASP.NET project with vb.net as code-behind. I'm using SQL Server 2000 as backend. I want to store the date in the following format. [B][I][COLOR="red"]2007-10-29 14:08:00[/COLOR][/I][/B] Can anyone please suggest how to get this format?

Member Avatar for zandiago
0
21
Member Avatar for bhappy

Hai All, Can any one help me how to get html hidden varaible value in asp.net code-behind. Thanks, Aswath.

Member Avatar for bhappy
0
58
Member Avatar for ritika_khanna
Member Avatar for guest11

hi all, I am making an winform project. After successful build when i run my project i get error as : "An unhandled exception of type 'System.ComponentModel.Win32Exception' occurred in system.windows.forms.dll Additional information: Error creating window handle." Can anybody tell what this error? Is this related to .net or window? Can …

Member Avatar for Ramy Mahrous
0
74
Member Avatar for gayatri_niki

hello i want code for ==== i want to add nodes in tree view control through database (sql). and i am using asp.net 2.0 with c#. gayatri

Member Avatar for greeny_1984
0
70
Member Avatar for ritika_khanna

i am working on online railway reservation project in asp.net using vb.net. in this project ,i want when user enter train name,source and destination on one page,it displays all these textbox values on textboxes of another page.please tell me urgently how can i do.

Member Avatar for greeny_1984
0
72
Member Avatar for dotNetDummi

Hi all, I have a gridview in my project. There is a cell that contains a dropdownlist, textbox and button. My task is when the use clicks "others" in the dropdownlist, the textbox and button should show so that they can add new value into the dropdownlist. But I got …

Member Avatar for dotNetDummi
0
664
Member Avatar for Oxiegen

Hi! I don't know if this has been answered already and a search gave to many results. I have a website that is built with ASP.NET and that uses some javascript. When I run a debug on localhost to check for errors the ASP.NET code works just fine, but every …

Member Avatar for hielo
0
205
Member Avatar for ritika_khanna

move visual studio.net 2003 web project from one computer to another if both computers are not connected then Visual Studio will fail to open the project and give an error "unable to get project file from web server.the two need to map to the server location. http 404 error (web …

Member Avatar for ritika_khanna
0
103
Member Avatar for dotNetDummi

Hi experts, I need a linkbutton/button to download the files which my clients have uploaded. Below is my upload method and it works. [CODE]protected void uploadFile() { String projectID = (String)Session["projId"]; //change the file name if (!FileUpload.FileName.Equals("")) { // Create a new folder in Docs folder (folder name = projectID) …

Member Avatar for Fungus1487
0
182
Member Avatar for ravindershikha

Hi Thomas i m in deep trouble plz help me. I have developed a website in ASP.NET 2.0 with SQL-SERVER 2005. i have used Membership feature of ASP.NET 2.0 (VS-2005). Which creates a Membership Database named aspnetdb in my app_data folder in my website folder. But now while hosting on …

0
67
Member Avatar for venkatramasamy

Hi to Everyone, i am looking to develop an graphical chat program(objects drawn in the either screen should take effect meantime in the other end-Real time drawing) is any body there to suggest me,what tools to use enable a drawing like a simple board Thanks in Advance Venkatramasamy SN

0
49
Member Avatar for simmy7

I am writing some code to create a google base feed and I need to remove all of the &reg;, &trade; etc from the product descriptions. My problem is that I need a regular expression that I can use to look for the pattern: & [any series of characters]; (ampersand[any …

Member Avatar for SheSaidImaPregy
0
64
Member Avatar for pritia

i need some help here i have design a gridview which contains two columns with dropdown list first is emp_id column n second is orderofwork column...when i try to update database with selected values in dropdown it gives me the following error Conversion from string "update subj_emp_assign set emp_i" to …

Member Avatar for SheSaidImaPregy
0
77

The End.