Topics
-
- 0 replies
- 860 views
I am getting a funny error, I am using a Visioneer scanner 9650 V 1.10 and a Visual Basic.NET 2003. I have written a program that interfaces with the scanner using eztwain. When the user clicks the File -> Scan they get the following error. Error Code 250 System Error I am not sure what this means any help offered is greatly appreciated.
Last reply by lothos123452000, -
- 0 replies
- 1.5k views
Hi all I have an email template stored in my web project. When I want to send an email to all the users, I just populate the data that has to change, and then proceed with sending the email. I have now been told that instead of sending most of the data in the body of the email that I must attach it as an attachment. Here is a sample of one of the email as it is currently send: I then use the following code to replace the tags with the proper values: Dim templateVar As New Hashtable templateVar.Add("OrgName", dsOrg.Tables("Organization").Rows(0).Item("Org_Name").ToString) templateVar.Add("Oid", org_ID) templateVar.Add("Cu…
Last reply by mike55, -
-
- *Experts*
- Leaders
- 5 replies
- 667 views
Dim SStr() As String = something... For MyLoop As Integer = 0 To SStr.Length - 1 Next Hi, You see that I use a loop to go through all arrays of SStr. Is it possible to convert this code so I can use For Each instead? I don't know how to use For Each for this one. Thanks:)
Last reply by Nerseus, -
-
-
- Administrators
- 3 replies
- 1.4k views
Hi all, Does anyone know if this is wrong somewhere? My form closes without any exception/warning!!! Try Dim StringConnection As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + My.Application.Info.DirectoryPath + "\AccessDB.mdb;Jet OLEDB:Database Password = mypass" Dim MyConnection As New OleDbConnection(StringConnection) MyConnection.Open() Dim CreateGroup As New OleDb.OleDbCommand("INSERT INTO Groups (GroupName) VALUES ('" + GroupName.Text + "')", MyConnection) CreateGroup.ExecuteNonQuery() MyConnection.Close() Catch Ex As Exception …
Last reply by MrPaul, -
-
-
- Administrators
- 5 replies
- 1.1k views
Dear All, I've just started using .NET to develop web apps, as previously I've only ever written code for Windows. I don't want to fall into bad practice here, so I feel I must ask a few basic questions... Firstly, is it good practice to embed HTML code in the (in this case VB) code that I'm writing? Secondly, the distinctions between some of the controls used in .NET obviously differ from standard HTML tags; for instance, the panel control appears to replace both DIV and SPAN tags. Is there anywhere that actually clearly explains all of the differences so that I don't have to re-write chunks of code at a later date? Thirdly, is there any advice you coul…
Last reply by mandelbrot, -
-
-
- Administrators
- 2 replies
- 770 views
Hi, I have an Web Service project, and for the purposes of testing I have a web method that simply connects to the Database (SQLExpress on my local machine using SQL authentication), and returns a dataset. I am storing the connection string in the web.config file. I have another project which consumes the web service, and when I step through this one and enter the web method, the connection string is null so it fails to return anything. The code in the web.config looks like: <?xml version="1.0"?> <configuration> <appSettings/> <connectionStrings> <add name="ConString" connectionString="Data Source=PC\SQLEXPRESS; Us…
Last reply by joker77, -
-
- 1 reply
- 11.6k views
I got the following error message on the line that declared a ReportDocument. In addition, when I tried to open any Crystal Reports that I created in Visual Studio 2005, I got "Crystal Reports ActiveX Designer: Failed to open document." and "Microsoft Visual Studio: Failed to create the Crystal Query Engine." error message. I uninstalled and reinstalled Visual Studio 2005. I had some problem during the uninstallation and installation process. After I finally got VS installed, things seemed to work fine for a short while. When I rebuilt my Setup project for the third time, I got this same error message again. Is there any way that I can fix this problem? Thank…
Last reply by netomin, -
- 1 reply
- 722 views
hello to all, it's a project with ASP.NET 02,i use a gridview,nd i want to active the property called editrowstyle.that when user clicks on edit,all feilds in the row,apear in a text box,and user can update each text box. i dont know how to write this code,it means i don't know wich event?? when i 2click on the EDIT an event occures but.... i'll be happy if somebody help me. do not forget it's the first time i use Vb.net 2005,even i do not ever use any .net language. best wishes.:o
Last reply by amir100, -
-
- *Experts*
- 2 replies
- 1.1k views
Hi, I have an Access database which has 2 tables named "Groups" and "Users". The snap shot shows the contents of both! I use this code to delete from Groups Table: Dim DB As OleDb.OleDbConnection = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + My.Application.Info.DirectoryPath + "\AccessDB.mdb;Jet OLEDB:Database Password = MyPassword") DB.Open() Dim DeleteGroup As New OleDb.OleDbCommand("DELETE FROM Groups WHERE GroupName = '" + GroupTextBox.Text + "'", DB) DeleteGroup.ExecuteNonQuery() DB.Close() That's OK and have no problem! My problem is that: As you see in the picture, in the Groups Table, eac…
Last reply by amir100, -
-
- 1 reply
- 720 views
Here's a strange question: Where does ASP get the code that is reported on error screens? There is a screenshot attached to this message. Now look at the code that is being executed at that line number: 526: If drpChecklist.SelectedItem.Value = "-1" Then 527: drpWorkcenter.Enabled = False 528: btnAdd.Enabled = False 529: Else 530: WorkcenterPK = GetChecklistWorkcenterPK(Session("ChecklistPK")) 531: 532: If WorkcenterPK = "NONE" Then 533: Session("WorkcenterPK") = -1 534: drpWorkcenter.SelectedIndex = 0 535: Else 536: Session("WorkcenterPK") = Workce…
Last reply by amir100, -
- 0 replies
- 1k views
I've encountered the same problem than the following topic: http://www.xtremedotnettalk.com/showthread.php?t=96044 I would like to allow user to call my own defined function using formula, the behavior of my function is to change a set of cells. However following the previous topic it seems impossible to do it. So what is the way to follow to update a set of cells using user defined function ? Thank you, Jol
Last reply by jol, -
- 0 replies
- 1.1k views
hello guys. I am working on some application that interracts with Microsoft Word and Excel. I would like to know if it is possible to override the Close, Save and Open methods of these applications so that i can manipulate them in my vb.net application. Iam using vb.net 2003. If it is possible, i need ideas on how to do this. Thanks
Last reply by alien, -
- 0 replies
- 1.2k views
I am using VB.Net 2005 to develop an application to send email via Groupwise. here the code : Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click Try objGroupwise = CreateObject("NovellGroupWareSession") objAccount = objGroupwise.Login(UserID, , userPassword) Catch ex As Exception MsgBox("testing") End Try End Sub --------------- It got "Cannot create ActiveX component" error message when it runs at the line - objGroupwise = CreateObject("NovellGroupWareSession") , but when I click the button (which runs this procedure) at the seco…
Last reply by galaxy2004, -
- 0 replies
- 803 views
hi, I had Visual studio .net 2003 .net frame work 1.1. web applications used to work properly. But I installed VSS 2005 on my system. After installing Visual Source Safe 2005 I am not able to open web applications. I am recieving the following error. The Web Server reported the following error when attempting to create or open the web project located at the following URL: 'http:\\localhost\WebApplication1'. 'HTTP/1.1 500 Internal Server Error'. can any one help me to solve the problem. Thanks
Last reply by smriti, -
- 5 replies
- 1.2k views
it's the first time i'm working with Asp.net and Sql server. I have a SqlServer 2000 database and i want to use it as my Project's database. i don't know what to do next.:( i have just install vb.net 2003 and sqlserver 2000,i don't no what codes i should use to connect to My Db. special thanks and best regards :)
Last reply by darya, -
- 1 reply
- 691 views
Hi, I want to check if there are 3 underlines (not less, not more) in a string? I know I can use IndexOf, but it will only return the location of first occur. How can I check this in .NET 2? Thanks:)
Last reply by MrPaul, -
- 2 replies
- 1.8k views
Hi all I have being looking through the book "Design Patterns" by the Gang of Four, I came across the composite pattern and implemented a sample app the demonstrates the pattern working (hopefully I did it correctly). After some further reading using the web other resources, I came across a statement that said that a child in the pattern could have multiple parents. I have being trying to figure out how to adjust my sample app to accomidate this; I considered adding an list to the child, which allowed it to store a reference to all its parents, and the same for the parent, so that it could store all its children. I am not sure if this is the best approach, can a…
Last reply by mike55, -
- 1 reply
- 1.2k views
How to run an application inside Internet Explorer like in Windows Updater in microsoft.com.
Last reply by MrPaul, -
- 1 reply
- 1.1k views
I'm working on a website that allows the user to purchase tickets online. What am i supposed to user in order to achieve this? Thanks
Last reply by MrPaul, -
-
- Administrators
- 2 replies
- 920 views
When i go to update a record using VB.net for a database in access I am getting the following error... "Argument 'Prompt' cannot be converted to type 'String'." when my SQL statement is as follows it works fine... SQL = "UPDATE Products SET TotalAmount = 1234 WHERE ProductName= ' " + cbocCat.text + " ' " But i want to replace the totalAmount with a variable from the form. So i changed the SQL statement to the following... SQL = "UPDATE Products SET TotalAmount =" + txtAmount.text + "WHERE ProductName= ' " + cbocCat.text + " ' " I was wondering if anyone knew why I am receiving this error. If anyone has and Idea place post.
Last reply by Talk2Tom11, -
-
Who's Online 0 Members, 0 Anonymous, 57 Guests (See full list)
- There are no registered users currently online