Modify A VB6/asp App To .NET?
Dec 22, 2009
I have an existing application written in html/asp that calls routines from a standard dll (written in VB6), and (3) COM+ components (also written in VB6). The db is MS SQL.
This is a very small and benign application that does logic processing. It is becoming increasing difficult to find shared hosting sites that allow registration of standard dll's (using reg32) and the COM+ components (using the IIs tools).
On the other hand, I was told by one hosting service (goDaddy) that they can host apps that are written in .NET>>>
"DLLs written to the .NET Framework specification can be run automatically from the /bin folder of your ASP.NET enabled website."
What does this entail and can it be done? i.e., can I convert the older VB6 components (and the asp/html code?) to .NET?
View 3 Replies
ADVERTISEMENT
Oct 1, 2009
i have xml file like this:
Quote:
<?xml version="1.0" encoding="UTF-16" standalone="no"?>
<zylab>
[code].....
View 1 Replies
Jul 31, 2010
I am trying to create an application that will enable me to type in my local language. For that I need to modify the key presses. For example when I press key A it should change it to ”. Also I would like to know how to detect double and triple key presses e.g. shift + W and ctrl + shift + J and remap them to a different character. Also I would like to know how to detect a text string like and replacing them with other string like member. I have found a code that modifies key. But when I tried to change key A to key B it produces AB. I am including the code below. Hope I have made myself clear.
[Code]...
View 1 Replies
Sep 28, 2010
I am attaching a working program. But in this program i need to do some changes
View 9 Replies
Sep 2, 2010
I have (with help from you) got 'full' control of Canon image capture and processing with feature recognition, and USB cam capture including frame modification on the fly. I now want to read an avi file and modify it on the run. I have found several C# and C++ routines as a good basis, (Especially the steganography example) if only I could successfully convert them. Unless I understand what I am doing wrong I don't stand a chance. So - start with the absolute basic Open/Close avi - This fails - Protected
memory eror
[Code]...
I can hardly think about streams til I can open a file, but when it is functional to the access to frames I'll submit a final copy for othersto use
View 9 Replies
Aug 6, 2010
I have a variable holding a string that is set to the value of 'B Recipes'. I need to know how to modify the string so that the new value is 'B'.
View 1 Replies
Jan 7, 2012
Do any1 have software for dispensary or something related which we can modify and use it for dispensary .
View 4 Replies
Jul 14, 2011
I am using VB2008. I have an image (black with transparent background). I would like to replace the black color of the image to another color (blue or red). Suggestions on how I could go about this will be very much welcome.
View 2 Replies
Sep 4, 2011
Im making an application that uses Google Maps Mobile (maps.google.com/m) and it uses a location sensor to give you results. How can i set that up? I would also like to try it with Google Buzz Mobile (m.google.com/app/buzz).
Dustin_K "There are 10 types of people in the world: those who understand binary and those who don't."
View 3 Replies
Aug 28, 2009
If I have a column say "price" that has for arguments sake 800 rows and I want to use a textbox and button multiply every row by the number entered in the text box when I press the button. So lets say I want to raise the price 8.5% I'd put 0.085 hit the button it would loop through the rows and multiply each value in the "price" column accordingly.
View 38 Replies
Mar 5, 2010
I've done some VB Script and I know C++ fairly intricately. I'm having trouble understanding, and making for loops with if statements perform as expected. What I'm trying to do is iterate through a string and turn all of the "a"s into "c"s "b"s into "d"s and "c"s into "e"s? Here's what I've got thus far and I'm keeping the old string intact.
For i = 0 To first_string.Length - 1
If first_string(i) = "a" Then
second_string = first_string.Replace("a", "c")
ElseIf first_string(i) = "b" Then
[Code] .....
I can do this for loop in my sleep in C++, but it seems that the increment counter i is never what I expect it to be. It should start as 0 (first letter of string) replace whichever of the three it finds, then change to 1 (second letter of the string) and replace whatever it finds there right?
View 10 Replies
Feb 18, 2011
I've got two classes deployed as COM+ components, let's say ClassA and ClassB. ClassA has some public properties. ClassB sets values for those properties and calls a method of ClassA. The method itself does not modify the value of the property. After the call the values of the properties are reset to default values for the corresponding types. This only happens if the called method includes statement ContextUtil.SetComplete(). Once I comment out the statement the values of the properties remain same as they were before the method call, which is what I expect. Do I overlook some basic concept of COM+ objects and their contexts? I would expect the property value to remain the same in any case.
Here's the simplified listing for the code:
Option Strict Off
Option Explicit On
Imports System.EnterpriseServices
<Transaction(TransactionOption.Required)> _
Public Class ClassA
[Code] .....
View 1 Replies
Feb 19, 2009
I'm trying to read an entry in an ini file; if it reads "ShowInvoiceRequiredMsg=NO" then my program is going to give the option to change that line to "ShowInvoiceRequiredMsg=YES". My code below reads the file and picks up if the option is set to 'NO' but I can't seem to modify that line to change it to 'YES'....... (in red is where I'm trying to modify this text)
Dim file As System.IO.File
Dim reader As System.IO.StreamReader
Dim line As String
reader = file.OpenText("c:file.ini")
[code].....
View 1 Replies
Nov 3, 2009
im trying to modify the text value of a richtextbox from another thread than the main thread, i've been trying for several hours but i cant get it to work, the text value just doesnt change.this code is in a separate module if that has something to do with it, so im trying to modify the textbox in form1 from another module.[code]
View 4 Replies
May 9, 2011
For example, I have an integer array called sec1() that has 71 elements.
I tried:
vb sec1(1 - 71) += 1 But when I run the program, it gives me an error. Not a red-underline error, some other error that doesn't stop the program from compiling but stops it from running. Is there a way for me to modify all of the element of my array at once? just out of curiosity will the same method work for string arrays?
View 14 Replies
Jun 22, 2010
I build an application that have 3 buttons, but I need a code that once the user clicks on a button it will fill the another application(last running application window) textbox with "x" value...
View 1 Replies
Nov 3, 2011
I have a CSV file with many rows in which I need to update/replace column four's value using VB.NET. There are no headers on the columns so the loop can start on row one.
infile.csv
"value1","value2","value3","value4"
After much googling, there are lots of examples on how to read and write CSV files, but none quite what is needed. I know there are multiple ways to accomplish this task, but a requirement is that it's done with VB.NET.tFinal code ported from Marco's C# answerPrivate Sub CSVmod(ByVal strFileName As String, ByVal newFileName As String)
Dim strLines As String() = File.ReadAllLines(strFileName)
Dim strList As New List(Of String)
Dim strReplace As String = "test"
[code]....
View 1 Replies
Mar 23, 2009
i have 2 windows forms, form1 and form2.form1 has a label called "label1" and a button called "button1".This button when pressed, opens up Form2.Form2 has a textbox, "textbox1" and a button. This button, called "button2", when clicked does this:form1.label1.text=textbox1.textThis used to work PERFECTLY, but now it does not work! i dont know what went wrong, and ive made a lot of changes to the project so i cant track the last time it worked.
View 4 Replies
Dec 12, 2011
I want to loop thru ever element of an array and if a condition is met modify that element. It seems For Each would be the elegant way but I can�t figure out how to put a value back in the array. Below is what I eventually used. It goes thru every element and if there�s a tab in the string it eliminates everything after the tab. Can I do the same with For Each?[code]...
View 10 Replies
Mar 9, 2012
I have several VB6 exe's/dll's that I have created, when I right click on the file and get the properties it says:
File version - 4.2.0.9
Product Version - 4.02.0009
Is it possible to change the File Version? I want this to say 4.2.9.123
I want to change this programmatically, so where is the file would I find these values? Are they at a specific location?
Is this going to cause an issue registering the exe/dll's with COM if I change the internal version?
View 2 Replies
Dec 15, 2011
how can i modify my object at run time? I have a form containing two panels; textbox, picturebox, and a label are in the panel1 where as panel2 is likely to be the user screen.. User drag the textbox from panel1 to panel2 and it is added there.. Now, i want to provide the facility to the user to modify the size using mouse similarly as we use to modify using mouse while making our forms.. It is like re sizing the button or picturebox at run time.
View 1 Replies
Apr 27, 2011
Is it possible to modify or add code or module into a windows application after deployment?
View 5 Replies
Feb 9, 2011
It is for vb.net 2008 with access database.At the moment it matches based on paramValue, and needs an exact match.How can I change it to look for a pattern instead?? For example I want anything that contains the text "Fizz" and then "Bom".[code]...
View 2 Replies
May 16, 2011
I'm using this code to receive messages from the server and append it to a text box:
Public Sub ReceiveMessage(ByVal ar As IAsyncResult)
Try
Dim bytesRead As Integer
[code].....
View 6 Replies
Sep 4, 2009
Here is the [code]...
how come the .value "Hello" is added but the .othervalue = true is still false?
View 9 Replies
Sep 1, 2010
I want to launch an instance of InternetExplorer from my application. I also need to modify contents of specific web pages before the pages are displayed based on user settings (e.g., bold certain phrases within the page and/or include user-specific data on the page).
Public WithEvents IE As SHDocVw.InternetExplorer
Public Sub ShowIE()
Me.IE = DirectCast(Microsoft.VisualBasic.CreateObject("InternetExplorer.Application"), SHDocVw.InternetExplorer)
Me.IE.Visible = True
End Sub
[code]....
View 3 Replies
May 6, 2010
I have this:
For Each oToolStripMenuItem As ToolStripMenuItem In oToolStripMenuItemMain.DropDownItems
'...
Next
First line produces an exception because it runs into a ToolStripSeparator. How to modify this loop so it won't?
View 2 Replies
Apr 7, 2010
I've never really used SQL before). What I'm trying to do is; I want to set a certain column to true or false automatically based on what value another column has entered. I managed to get this working by myself using the 'SQL Pane' in VB and testing it by using execute SQL but I don't know what to do now. I assumed that I could just save it and it would work from there but that's not the case, it dissapears from the SQL Pane if I close the project (even though it worked fine when I ran the project the first time), so where do I put it/what do I do with it in order to get this to work?
View 4 Replies
Dec 28, 2010
I am working in visual studio with a datagridview that is bound to a mysql database via the .net mysql connector. In my vb app I have some text fields that provide the necessary fields for building the connection string which I have defined as:
[Code]...
View 2 Replies
Jun 22, 2010
we have several applications in Vb.Net using the built in log system (My.Log) to write log information. Until now this system was configured by the application.config file before execution but now we want to let the user to choose some options.
Is there a way that does not requires to parse the XML file and process it? Is there available something like My.Settings that will do the dirty job done?
An example would be to be able to modify the DefaultSwitch value from Verbose to Warning or changing a property of the FileLog like the maxFiles attribute:
<switches>
<add name="DefaultSwitch" value="Verbose" />
</switches>
<sharedListeners>
[Code]....
View 1 Replies