I want to make serial port communication in vb.net1.1. How do i make it possible ? . I just can't find any perticular .dll or .ocx for it in .Net1.1. So , If anybody has information about any .dll or .ocx in .net1.1 that i include in my code , please reply. OR if any other way to make it possible Reply me. Thank you.
payal sheth
Posts
-
Serial Port Communication -
mutilple parameters to be passed using Hyperlink columnhi all i have defined a hyperlink column as below ''''''''''''''' Dim col0 As New HyperLinkColumn col0.HeaderText = "Col0" col0.Text = "Col0" col0.DataNavigateUrlField = "Col0" col0.DataNavigateUrlFormatString = "mypage.aspx?col0='{0}'" col0.DataTextField = "col0" col0.ItemStyle.Width = Unit.Point(60) col0.SortExpression = "col0" my_grid.Columns.Add(col0) '''''''''''''''''' now my problem is that i want to pass 2 database paramters using the DataNavigateUrlField property.i saw one of the article on net is say to use DataNavigateUrlFields property of hyperlink column but such member is not definded for the hyperlink column my url should be col0.DataNavigateUrlFormatString = "mypage.aspx?col0='{0}',col1='{1}'" can anyone help me out... thanks in advance :-D
-
Execute Java script function in IDEhi i tried to register the script and get my work done now the problem is like if i try to execute the function as below Dim sText As String = "function Back() " & vbCrLf & "{" & vbCrLf & "this.enabled=false; " & vbCrLf & "window.history.back();" & vbCrLf & "}" RegisterStartupScript("onclick", "" & sText & "") but none of the operations are getting executed.That is i want to make button enable false and go the the back page with history maintained. let me know if any one can help me thanks in advance :-D
-
Execute Code behind and java script togetherhi i m developing a ASP .Net application.i have a asp .net button.I want to execute server side and clicnt side code. like i have some code in the click event of the button and a java script to navigate back to the previous page which which is done by window.history.back() let me know how i can execute both the code first the code behind code and then the have script on one click of the asp .net button like do i need to add attribute ot the button in page load or need to register the scprit. Thanks in advance :-D
-
Executing Java Script Function and Code Behind event togeatherhi all i have used Treeview IE Web Control in my project.i want to call a java script function and code behind function on its check event. I have written one java script and added to the treeview on the load event of the form by using the attributes e.g Dim clickHandler1 As String = "TVChkclick();" Me.TreeView1.Attributes.Add("oncheck", clickHandler1) once this function is executed i want to execute the code written in treview1_check event of the treeview which is written in the code behind... the problem right now is only java script code is getting executed the code behind event is not getting executed..if anybody knows the solution let me know... thanks :-D
-
Recordset Filter ProblemHi all i have create a Embedded Vb application.it has interface to interact with database. my database is Pocket PC Access (.cdb) format. I m using Adoce 3.0 to connect with my database. my connection string is "cn.ConnectionString = "provider=cedb;data source=" & strActiveConnection & ";"" where in strActiveConnection i m setting my database path. Doing this i m able to connect to me database.Connection is also a sucess. Now i have created a recordset. The problem is like i m using filter or Find method of the recordset but its giving error.when i use the where clause with the Recordset query its working but its method like filter or find is not working... Let me know if any one has come solution to it... thanks :-D
-
Crystal Report problem in ASP .NetHello all.. i have developed a web based application using ASP .Net.To give reporting functionality i have developed reports using Crystal Report 9. I have used pie chart for one of the report.the problem is like i m not able to c the chart on net when my solution is deployed on my web server. i have deployed all the Dll required for Crystal report on web server... Let me know if any one has some solution... thanks :-D
-
Error when sending Mailhi all i have used the below code for sending mail from my project Dim message As New MailMessage Try message.To = "abc@yahoo.com" message.From = "abc@hotmail.com" message.Body = "Hi " message.Subject = "Automail" SmtpMail.SmtpServer = "mail.website.biz" SmtpMail.Send(message) Catch ex As Exception Label1.Text = ex.Message End Try on my web server there is a 3rd party SMTP server which i have used to send my mail.i m getting "Could not access 'CDO.Message' object." error. if i need to specify username and password to access my SMTP server then where do i do that in my web.config or where??? thanks
-
Page print from ASP .NETHello ... i have put up a Print Button (HTML Button) in my asp .net page.I m using Java Script to get the print of the page.Now my problem is that i m not able to get the color print well if its Image then its getting printed in color but not a table row for an example with color is not getting print only the border with black color is getting printed.... Let me know if some one has some idea....
-
Debugging Problemhi all hope to have help from some one and sloves my problem. well i let u know whats my problem. 1) i have created one group and user under that group on my computer. eg : Group - Web Gis & User - User1 2) i have included this user under VS Developer & Debugger group. now the problem is like when i log on through User1 to my system then i m not able to debug my ASP .NET application but i m able to Debug my windows Application developed in VB .Net. 3) i m not able to attach that worker process (aspnet_ws.exe) also manually. 4) i updated the process model tag's Username and password also to the user name and password i created under Web Gis Group.Still i m not able to debug my web application.I have tried all the option i get while clicking on the help button of the Error window.I m just getting the Error Msg "Access Denied" Message. Help me if any one can.... :-D
-
Pictures in Crystal ReportHi all.... Hope to get help from any of you.. I m trying to insert a picture in my Crystal Report.I m able to view the image when i call the report through my local asp.net application.now my problem is like when i upload my pages on my server then i m not able to view the images in my reports thought i have uploaded the images in the report folder. can any one help me.... thanks in advance... :-D
-
KeycodeV2.dll Errorhello all... i have developed a ASP .Net Web Application..Want to deployee it...i have copied all the aspx pages and my project.dll to the server through smart ftp.i have used crystal reports for designing my reports.i have copied all the required dll's to the bin dir. Copied dll's are; CrystalDecisions.CrystalReports.Engine.dll CrystalDecisions.ReportSource.dll CrystalDecisions.Shared.dll CrystalDecisions.Web.dll when i open my report document its giving me error "Cannot find KeycodeV2.dll, or invalid keycode." this error is coming on my deployed server not on my local server.. if i deploy the project through SETUP then i can assign the License Key in the merge module but since i have deployed it throught FTP Server its not possible to deploy throyght merge module... can any one tell me how to solve my problem...how do i assign the License Key and to which dll.... thanks....:-D
-
Can i develope Client Server Application with accessHello all... I m trying to access my Access database from multiple user..Its giving me Error like "Database is Exclusively locked by other User."...well can i develope Client Server Application Using Access database...if yes how??????????????? thanks in advance :-D
-
Open file in its parent applicationi tried shell("d:\temp.txt") it gives invalid procedure call error msg
-
Open file in its parent applicationhello all .... I want to open a file in its parent application In visual basic 6...i dont want to specify the exe path of the application...based on the file extension my application should search its parent application and open the file... In visual basic 6 Using Shell i tried... Like Shell("d:\windows\system32\notepad.exe d:\temp.txt" ) but in this i need to give the parent application path.i dont want to do that... in In Vb .net we have process.start(d:\temp.txt) this opens in the parent application... i want to do the same thing in Visual Basic 6.... Can any one help me out... Thanks in advance....
-
Required Field ValidatorsThanks.... Well i have the problem after i upload my site on server...do i need to deploy WebUIValidation.js, SmartNav.js files on my server in my site folder...if yes let me know the location.... Its working on my developement machine properly....without checking the validity of the page like VB. net page.IsValid() { } thanks once again..... do let me know if u come up some solution for this...... :-D
-
Required Field ValidatorsHello all , I have used Asp .Net Required field validators in my aspx site.The problem is like its firing the validation but after the server operation. Like suppose i m entering some new data and kept null validation.Its firing that validation after the data is saved in the database... Pls can any one help me..... thanks................ :-D
-
Create Radio Button GroupHello all ..... I m creating a Template Column for Datagrid Run time and adding Radio Button in that Column ....I want to assign a GroupName to all the radio buttons filled as per the Databinded to the datagrid... right now i have added the Template Column but all the radio buttons get selected to-gether....i want to select a single Button... :-D
-
Multiple access to Single Databasehello all... i have a database in Access 2000...i want to access single database from multiple location...how can i do in VB .net...i have tried accessing the database by Imports System.Data.OleDb...its giving error saying "The Jet microsoft database is already exclusively opened by another user...or you may not have rights to access it.." if accessing the single database on server through multiple exe then giving above error....let me know if anybody has solution how to do it.... thanks in advance
-
Reference of WEb Control in the Html PageHello all,,, i want to validate my web controls on my aspx pages...but i dont want to use FieldValidators as it is fireing on all the web control buttons i have on that web page. i want to validate the controls by writing Javascript....so it validates atmy client side...like after the head tag in the Html page... function clearControls() { webctrl.text = ""; } then call this Function on the web controls button Click..... My problem is that i am not able to get the reference of the web controls on the html page.... like i m not able to write... document.form1.textbox1.text = "" where textbox1 is as WEb control...same thing i can do for the Html Controls... Let me know how to get the reference... Thanks.... ....................