Using WinWedge with Visual Basic to pass serial data to an active server page
Send serial readings to a classic ASP page using the VB6 Wedge2URL example.
Suppose that you had an instrument that provided some sort of data on a regular basis and you wanted to update an Active Server Page with new data each time it was transmitted from the instrument.Unfortunately Active Server Pages do not support Dynamic Data Exchange, so we cannot simply add DDE Commands to our VBScript. Instead we will use a compiled Visual Basic Program to call our ASP code with the data.
The Visual Basic program Wedge2URL establishes a DDE Link to WinWedge. Every time the data in WinWedge changes, the change is reflected in the VB Program and the new data is appended to a string (representing a URL) that looks like:"http://www.mysite.com/myfile.asp?Wedgedata=1.234"This string is then passed as part of a Shell command to launch the default web browser with the Specified URL. The ASP Code retrives the “Wedgedata=…” part and displays it on the page.
Simply configure WinWedge to work with your device (Follow the Quick Set Up Steps at the front of your WinWedge Manual). Don’t worry about trying to parse and filter your data, this will be done in the ASP code.Note: Because WinWedge always behaves as a DDE Server regardless of which mode you choose, you can use the example below in Keystrokes mode, DDE Mode or Log to disk mode (Pro version only). This means that not only can you update your ASP Page but at the same time you can record your data in Excel, or notepad, or a log file!
The format described here is an implementation of the “.INI File Format”, as defined in the Microsoft Windows for Workgroups Resource Kit. An INI file is a text file divided into sections, each containing zero or more keys. Each key contains zero or more values.Example:[SectionName] keyname=value ;comment keyname=value, value, value ;commentSection names are enclosed in square brackets, and must begin at the beginning of a line. Section and key names are case-insensitive, and cannot contain spacing characters. The key name is followed by an equal sign (“=”), optionally surrounded by spacing characters, which are ignored. If the same section appears more than once in the same file, or if the same key appears more than once in the same section, then the last occurrence prevails. Multiple values for a key are separated by a comma followed by at least one spacing character.The Setup.ini file for Wedge2URL looks like:[Startup] URL=http://www.mysite.com/wedge2url.asp?wedgedata=ComPort=Com1The URL should include the full http path to your asp file, the asp filename followed by a question mark (“?”). If you have only one field you can specify a variable name like “Wedgedata” above to represent the value of that field. If your have defined more than 1 field in WinWedge, you can either hardcode the variable names in the Visual Basic program, or reconfigure WinWedge to send just a single field of data and parse it out in your ASP code. See the section on Dealing with Multiple Data Fields for more information.
The code for the visual basic program is based on the WinWedge DDE Example for Visual Basic – Linking a VB Text Box to a WinWedge Data Field. At its most basic the Project consists of a only a single form and a module but, to make our example more useful, instead of ‘hard coding’ variables like the selected com port and the URL to send the data to, we added code to read these parameters from a setup.ini file. This method allows you to easily add more of your own settings and change variables without needing to recompile the program each time. In addition we added code to allow the program to be minimized to the system tray, since no user interaction is required.The extra features add many lines of code that make it appear to be more complex than it really is so lets take a look at the just the key elements of the Program:
Sub Main()' *** This routine launches Default Browser with Custom URL'Declare VariablesDim ExecPath As String, strStart, nResult, MyURL$' Get the directory Path where this code is executing' (To retrieve values from setup.ini file stored in same' directory)ExecPath = IIf("/" = Mid(App.Path, Len(App.Path)), App.Path, App.Path & "")' Read URL value from setup.ini into MyURL$ variableMyURL$ = mfncGetFromIni("Startup", "URL", ExecPath & "Setup.ini")' Append Wedge data to a string representing a URL:strStart = "Start.exe " & MyURL$ & Form1.Text1.Text' (Start.exe is a program that is part of the Windows' Operating system that allows you to run a program by its' associated extension. MyURL$ is the main part of the URL' Specified in setup.ini:' e.g., "Http://www.website.com/myfile.asp?Wedgedata="' Form1.Text1.Text is the data from WinWedge.' By concatenating all of these elements together we can use' them in a shell command to launch the browser and open the' page.'Launch the Browser with the URL - vbhide hides the dos window' that appears when start.exe is runnResult = Shell(strStart, vbHide)End Sub
Essentially, the only line of code that matters is the last line – we could hardcode the base URL here and shorten the code to just that line with the same result:
Sub Main_b() Shell "Start.exe http://www.website.com/myfile.asp?Wedgedata=" & Form1.Text1.Text, vbHideEnd Sub
But in so doing we would need to recompile the program if we needed to point to a different URL.Note: If your device sends multiple fields of data you should still set up WinWedge for a single data field and then parse and filter using your ASP code
ParsingIf you need to parse several comma delimited fields of data from the “WedgeData” variable in your ASP code then you could use:
<% @Language = VBScript %><%' declare variablesDim strWedgeData, iDim StartPos, MyVar, DelimPosDim Myarray(3) ' Specify the number of fields you need to parse between the parenthesis'retrieve wedgedata informationstrWedgeData = Trim(Request.QueryString("WedgeData"))' How to separate multiple comma delimited fields from the single strWedgeData variable:' Add Terminating delimiterMyVar = strWedgeData & ","' starting position in the string - start at 1st byteStartPos = 1' scan until we reach the end of the stringWhile StartPos < Len(MyVar) ' find the next comma delimiter DelimPos = InStr(StartPos, MyVar, ",") ' pull out a data point between the starting position and the position of the delimiter DataPoint = Mid(MyVar, StartPos, DelimPos - StartPos) ' update the starting position (skip over the delimiter) StartPos = DelimPos + 1 ' Field counter fCount = fCount + 1 ' save the current data point Myarray(fCount) = DataPoint' go get the next pointWend%>
Here is your wedge data:
<%'Loop through each record in the array and display the dataFor i = 1 to Ubound(Myarray)Response.Write("Field " & i & " = " & Myarray(i) & "")next 'i%>
FilteringIf you do not want every field to be displayed use an If Statement to test the field number currently being processed, if you do not want to display that field then do nothing, otherwise display the field. For Example if you want to filter out field 3 then you could use the following code:
'Loop through each record in the array and display the data 'Unless it is field 3 For i = 1 to Ubound(Myarray) If i <> 3 then Response.Write("Field " & i & " = " & Myarray(i) & " ") End if next 'i
If not, refer to the WinWedge manual or Online Support Pages for Help
Is Wedge2URL running?
So you see data in this program?
Do you have a web browser?
Did you upload the ASP files to your webserver?
Wedge2URL doesn’t run!This program requires the visual basic runtimes. Download them now.Download Vbrun60.exe (size: 1.34 MB)ReferenceFor additional information, please see the following article in the Microsoft Knowledge Base:ARTICLE-ID: Q192467TITLE: File VBRUN60.EXE Installs Visual Basic 6.0 Run-Time FilesI can’t open some of the project files!Do you have Visual Basic 6 installed on your PC?I get “Error 404 – File Not Found” errors in my browser!
Did you upload the ASP Files to your webserver?
Did you Modify the Setup.ini file to point to the correct file in the correct location?
Last modified on October 22, 2026
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"TALtech Support","colors":{"primary":"#0764B9","light":"#0764B9","dark":"#0764B9"},"logo":{"light":"https://mintcdn.com/taltech-bdc45607/x77iB9KQeUuF5CKJ/images/brand/Logo.svg?fit=max\u0026auto=format\u0026n=x77iB9KQeUuF5CKJ\u0026q=85\u0026s=281267d1812ad821819e27a3fc4627a8","dark":"https://mintcdn.com/taltech-bdc45607/x77iB9KQeUuF5CKJ/images/brand/Logo.svg?fit=max\u0026auto=format\u0026n=x77iB9KQeUuF5CKJ\u0026q=85\u0026s=281267d1812ad821819e27a3fc4627a8","href":"/"},"favicon":"https://mintcdn.com/taltech-bdc45607/gxOKhYgaQPS-dWNs/images/TALFavicon.png?fit=max\u0026auto=format\u0026n=gxOKhYgaQPS-dWNs\u0026q=85\u0026s=9775c2f387b2a123e7c3f8e6bcdc7794","background":{"color":{"light":"#fafaf9","dark":"#0c0a09"}},"navbar":{"links":[{"href":"/contact","label":"Contact"},{"href":"https://taltech.com/ordering","label":"Ordering"},{"href":"/about","label":"About"}]},"footer":{"links":[{"header":"Software support","items":[{"label":"WinWedge","href":"/winwedge"},{"label":"TCP-Com","href":"/tcp-com"},{"label":"BC-Wedge","href":"/bc-wedge"},{"label":"HID-ScaleWedge","href":"/hid-scalewedge"},{"label":"B-Coder Pro","href":"/b-coder"},{"label":"Barcode ActiveX","href":"/barcode-activex"}]},{"header":"Resources","items":[{"label":"Trial downloads","href":"https://taltech.com/support-resources/free-trial-downloads"},{"label":"Software Manuals","href":"https://taltech.com/support-resources/software-manuals-brochures"},{"label":"Supplemental files","href":"https://taltech.com/support-resources/utilities-macros-and-supplemental-files"}]},{"header":"Ordering","items":[{"label":"Ordering options","href":"https://taltech.com/ordering"},{"label":"Online store","href":"https://store.taltech.com/"},{"label":"Purchase orders","href":"https://taltech.com/ordering"},{"label":"Guarantee","href":"https://taltech.com/ordering"},{"label":"Resellers","href":"https://taltech.com/ordering"}]},{"header":"About","items":[{"label":"Contact us","href":"/contact"},{"label":"About us","href":"https://taltech.com/about"},{"label":"Ordering","href":"https://taltech.com/ordering"},{"label":"Policies","href":"https://taltech.com/policies"},{"label":"Testimonials","href":"https://taltech.com/testimonials"},{"label":"Clients","href":"https://taltech.com/industries/clients"}]}]},"search":{"prompt":"Search articles…"},"seo":{"indexing":"all"},"fonts":{"family":"Public Sans"},"icons":{"library":"lucide"},"integrations":{"ga4":{"measurementId":"G-B9095B5PL0"}},"banner":{"content":"**Questions?** Call Sales at **(800) 722-6004** or Support at **(215) 496-0222**"},"contextual":{"options":["copy","chatgpt","view","claude","mcp"],"display":"header"},"thumbnails":{"fonts":{"family":"Public Sans"}},"interaction":{"drilldown":false},"metadata":{"timestamp":true},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Support home","icon":"house","href":"/"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"taltech-bdc45607","hasAudioNarration":false,"actualSubdomain":"taltech-bdc45607","customDomains":["support.taltech.com"],"gitSource":{"type":"github","owner":"taltechnologies","repo":"support-site","deployBranch":"master","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6aea58b5cbdb6f4019025293","collectionId":"2220a919-ff2c-46e9-941f-4c9a1fac66ab","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aea58b5cbdb6f4019025293"},"feedback":{"agentFeedback":true},"entitlements":{},"buildId":"6aee232d584f2a80bf024fd2","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"default","tag":"Support articles","count":166},{"language":"default","tag":"WinWedge","count":113},{"language":"default","tag":"B-Coder Pro","count":55},{"language":"default","tag":"Advanced articles","count":54},{"language":"default","tag":"Barcode ActiveX \u0026 DLLs","count":42},{"language":"default","tag":"Troubleshooting","count":32},{"language":"default","tag":"Other DDE macros and code examples","count":20},{"language":"default","tag":"TCP-Com","count":19},{"language":"default","tag":"Excel DDE macro examples","count":18},{"language":"default","tag":"Barcode types","count":17}],"searchSettings":{"maxResults":8,"showContentSnippets":true}},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"support@taltech.com","showHelpButton":true}},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":"h1{text-wrap:balance}#content :is(h2,h3,h4,h5,h6){font-weight:650;opacity:0.85}#content .tooltip:has(a[href]){text-decoration:none}#content a:where([href]):not(:where(.card,[href^=\"#\"])){color:var(--support-link-color)}:root{--support-link-color: #09569a;--support-border-color: rgb(0 0 0 / 12%);--support-panel-radius: 12px;--support-raised-fill: linear-gradient(180deg, #f5f6f7 0%, #fff 100%);--support-raised-shadow: 0 0 0 1px rgb(38 49 59 / 14%),\n 0 2px 4px rgb(23 31 38 / 3%),\n 0 8px 24px rgb(23 31 38 / 5%),\n inset 0 1px 0 rgb(255 255 255 / 90%)}.dark{--support-link-color: #84bdfb;--support-border-color: rgb(255 255 255 / 18%);--support-raised-fill: linear-gradient(180deg, #1e2226 0%, #272b2f 100%);--support-raised-shadow: 0 0 0 1px rgb(255 255 255 / 14%),\n 0 2px 4px rgb(0 0 0 / 12%),\n 0 8px 24px rgb(0 0 0 / 18%),\n inset 0 1px 0 rgb(255 255 255 / 5%)}#content :is(.support-start-links a,a.chevron-link){display:inline-block;max-width:100%;border:0;background-image:none;text-decoration:none;font-weight:500}#content :is(.support-start-links a,a.chevron-link)::after{content:\"\\00a0›\";white-space:nowrap;font-size:1.125em;line-height:0;font-weight:400;opacity:0.8}#content :is(.support-start-links a,a.chevron-link):hover{opacity:0.8}#content :is(.support-start-links a,a.chevron-link):focus-visible{outline:2px solid currentColor;outline-offset:4px;border-radius:2px}.card .not-prose{font-size:1.125rem}.card .prose{margin-top:0.5rem}.article-byline{font-size:0.875em;margin-top:2.5rem}#pagination{display:none}:is(#mobile-nav,#sidebar-content) a[target=\"_blank\"]>div>div:has(>svg){flex:0 0 auto}[data-component-part=\"tooltip-content\"]{max-width:min(20rem, calc(100vw - 2rem))}[data-component-part=\"tooltip-tip\"]{color:#000;font-size:0.875rem;line-height:1.5}.dark [data-component-part=\"tooltip-tip\"]{color:#fff}#page-context-menu button[aria-haspopup=\"menu\"]>svg{width:0.875rem;height:0.875rem;color:#000}.dark #page-context-menu button[aria-haspopup=\"menu\"]>svg{color:#fff}#navbar{--nav-control-fill: rgb(0 0 0 / 3%);--nav-control-hover-fill: rgb(0 0 0 / 10%);--nav-search-outline: rgb(0 0 0 / 14%)}.dark #navbar{--nav-control-fill: rgb(255 255 255 / 3%);--nav-control-hover-fill: rgb(255 255 255 / 10%);--nav-search-outline: rgb(255 255 255 / 14%)}#navbar [data-component-part=\"products-selector-trigger\"]{color:#000;height:36px;padding:8px 14px;background-color:var(--nav-control-fill);border-radius:12px;font-weight:500}#navbar [data-component-part=\"products-selector-trigger\"] svg{color:inherit}.dark #navbar [data-component-part=\"products-selector-trigger\"]{color:#fff}#navbar [data-component-part=\"products-selector-trigger\"]:is(:hover,[aria-expanded=\"true\"]){background-color:var(--nav-control-hover-fill)!important}.accordion-group,details.accordion{border-color:var(--support-border-color)}#search-bar-entry,#search-bar-entry-mobile{min-height:38px;color:#000;background-color:var(--nav-control-fill);border:1px solid var(--nav-search-outline);border-radius:12px;font-weight:500}.article-search-trigger{display:flex;align-items:center;gap:0.75rem;width:100%;margin-bottom:1.5rem;padding:0.75rem 1rem;min-height:44px;color:#26313b;background:var(--support-raised-fill);border:0;border-radius:var(--support-panel-radius);box-shadow:var(--support-raised-shadow);font-size:1rem;font-weight:600;text-align:left;cursor:pointer;transition:box-shadow 160ms ease}.article-search-trigger:hover{box-shadow:0 0 0 1px rgb(38 49 59 / 22%),\n 0 2px 5px rgb(23 31 38 / 4%),\n 0 10px 28px rgb(23 31 38 / 7%),\n inset 0 1px 0 rgb(255 255 255 / 90%)}.article-search-trigger svg{flex-shrink:0}#search-bar-entry-mobile{min-width:38px}#search-bar-entry svg{color:inherit}#search-bar-entry-mobile svg{background-color:currentColor}#search-bar-entry:hover,#search-bar-entry-mobile:hover{background-color:var(--nav-control-hover-fill)}#search-bar-entry:focus-visible,#search-bar-entry-mobile:focus-visible,.article-search-trigger:focus-visible{outline:2px solid #0764b9;outline-offset:3px}.dark #search-bar-entry,.dark #search-bar-entry-mobile{color:#fff;filter:none}.dark .article-search-trigger{color:#f1f4f7}.dark .article-search-trigger:hover{box-shadow:0 0 0 1px rgb(255 255 255 / 22%),\n 0 2px 5px rgb(0 0 0 / 16%),\n 0 10px 28px rgb(0 0 0 / 24%),\n inset 0 1px 0 rgb(255 255 255 / 6%)}.dark #search-bar-entry:focus-visible,.dark #search-bar-entry-mobile:focus-visible,.dark .article-search-trigger:focus-visible{outline-color:#84bdfb}#content-area:has(.product-landing){position:relative}#content-area:has(.product-landing) #header{padding-top:3.5rem}#content-area:has(.product-landing) #header>.prose{margin-top:1rem;text-wrap:balance}#content-area:has(.product-landing) #page-title{max-width:30ch;font-size:clamp(2rem, 3vw, 2.5rem);line-height:1.15;letter-spacing:-0.025em}#content:has(.product-landing){position:static;margin-block-start:2.5rem;margin-block-end:0}#body-content:has(.product-landing) #footer>div{padding-block:4rem}#content .support-home-breadcrumb{position:absolute;display:flex;align-items:center;gap:0.625rem;top:0;inset-inline-start:0;font-size:0.875rem;font-weight:400;text-decoration:none;color:inherit}#content .support-home-breadcrumb a{border:0;background:none;text-decoration:none;font-weight:400;color:inherit}#content .support-home-breadcrumb a:hover{text-decoration:underline}#content .support-home-breadcrumb a::after{display:none}#content .support-home-breadcrumb [aria-hidden]{opacity:0.45}#content .support-home-breadcrumb [aria-current]{color:rgb(var(--gray-600))}.dark #content .support-home-breadcrumb [aria-current]{color:rgb(var(--gray-300))}#body-content:has(.product-landing,.support-home-landing) #sidebar-content{display:none}#body-content:has(.product-landing,.support-home-landing) #content-container{max-width:64rem;padding-inline:1.5rem}#content-area:has(.product-landing) #header::before{content:\"\";display:block;height:88px;margin-bottom:1.5rem;background:var(--support-product-artwork);filter:drop-shadow(0 1px 2px rgb(0 0 0 / 7%)) drop-shadow(0 3px 4px rgb(0 0 0 / 4%))}#content-area:has(.product-landing[data-product=\"winwedge\"]){--support-product-artwork:\n url(\"/images/product-icons/WinWedge.svg\") left bottom / 88px 88px no-repeat,\n url(\"/images/product-icons/WinWedge%20Pro.svg\") 104px bottom / 88px 88px no-repeat,\n url(\"/images/product-icons/TCP-Wedge.svg\") 208px bottom / 56px 56px no-repeat}#content-area:has(.product-landing[data-product=\"tcp-com\"]){--support-product-artwork: url(\"/images/product-icons/TCP-Com.svg\") left bottom / 88px 88px no-repeat}#content-area:has(.product-landing[data-product=\"bc-wedge\"]){--support-product-artwork: url(\"/images/product-icons/BC-Wedge.svg\") left bottom / 88px 88px no-repeat}#content-area:has(.product-landing[data-product=\"hid-scalewedge\"]){--support-product-artwork: url(\"/images/product-icons/HID-ScaleWedge.svg\") left bottom / 88px 88px no-repeat}#content-area:has(.product-landing[data-product=\"b-coder\"]){--support-product-artwork: url(\"/images/product-icons/B-Coder.svg\") left bottom / 88px 88px no-repeat}#content-area:has(.product-landing[data-product=\"barcode-activex\"]){--support-product-artwork: url(\"/images/product-icons/Barcode%20ActiveX.svg\") left bottom / 88px 88px no-repeat}.product-landing{display:none}.support-content-band{--support-band-fill: color-mix(in srgb, rgb(var(--background-light)) 98%, black);margin-top:0;padding-block:2.5rem 4rem;background:var(--support-band-fill);box-shadow:0 0 0 100vmax var(--support-band-fill);clip-path:inset(0 -100vmax)}.dark .support-content-band{--support-band-fill: color-mix(in srgb, rgb(var(--background-dark)) 98%, white)}#content .support-start-block{margin:0 0 3rem;display:grid;grid-template-columns:repeat(auto-fit, minmax(min(100%, 15rem), 1fr));gap:2rem;width:100%;max-width:100%;padding:1.5rem;border:0;border-radius:var(--support-panel-radius);background:#fff;box-shadow:var(--support-raised-shadow)}.dark #content .support-start-block{background:rgb(var(--background-dark))}#content .support-content-band>h2{margin:0 0 1rem;font-size:1.5rem;letter-spacing:-0.02em;line-height:1.3}#content .support-content-band>.accordion-group+h3{margin:2.5rem 0 1rem;font-size:1.25rem;letter-spacing:-0.015em;line-height:1.4}#content .support-start-block h3{margin:0 0 0.75rem;font-size:1.125rem;line-height:1.4}#content .support-start-links{display:grid;grid-template-columns:minmax(0, 1fr);gap:0.375rem;line-height:1.5;max-width:40rem;margin:0;padding:0;list-style:none}#content .support-start-links>p{margin:0;padding:0}#content .support-section-description{margin:0 0 1.5rem}#content .support-content-band>.video-collection{margin:0 0 3rem}#content .support-content-band>.article-search-trigger{margin:0 0 1.5rem}#content .support-content-band>.accordion-group{margin-block:0}#content .support-content-band>.accordion-group+.support-contact-panel{margin-block-start:1.5rem}@media (max-width: 639px){.support-content-band{padding-block:2.5rem}#content:has(.product-landing){margin-block-start:2.5rem}#body-content:has(.product-landing) #footer>div{padding-block:2.5rem}#content .support-start-block,#content .support-content-band>.video-collection{margin-block-end:2.5rem}}.support-contact-panel{display:grid;grid-template-columns:minmax(0, 1fr) minmax(0, 2fr);align-items:center;gap:1.25rem 2rem;margin-top:2rem;padding:1.5rem;border:1px solid var(--support-border-color);border-radius:var(--support-panel-radius);background:rgb(var(--background-light))}.dark .support-contact-panel{background:rgb(var(--background-dark))}#content .support-contact-panel h2{margin:0 0 0.25rem;font-size:1.125rem;line-height:1.4}.support-contact-availability{display:grid;gap:0.25rem;font-size:0.875rem;line-height:1.5}#content .philadelphia-time{font-variant-numeric:tabular-nums}.support-contact-availability .philadelphia-time{color:rgb(var(--gray-600))}.dark .support-contact-availability .philadelphia-time{color:rgb(var(--gray-400))}@media (max-width: 639px){.support-contact-panel{grid-template-columns:minmax(0, 1fr)}}.video-collection{--video-caption-background: #343a40;--video-border: var(--support-border-color);--video-fill: rgb(0 0 0 / 3%);--video-hover: rgb(0 0 0 / 6%);--video-selected: rgb(var(--primary) / 8%);--video-link: rgb(var(--primary));--video-muted: rgb(var(--gray-600));--video-background: rgb(var(--background-light));--video-color-scheme: light;--video-scrollbar: rgb(var(--gray-400));margin:1.25rem 0 2rem}.dark .video-collection{--video-caption-background: #1c2024;--video-fill: rgb(255 255 255 / 3%);--video-hover: rgb(255 255 255 / 7%);--video-selected: rgb(var(--primary) / 18%);--video-link: color-mix(in srgb, rgb(var(--primary)) 55%, rgb(var(--gray-100)));--video-muted: rgb(var(--gray-300));--video-background: rgb(var(--background-dark));--video-color-scheme: dark;--video-scrollbar: rgb(var(--gray-600))}.video-collection-layout{display:grid;grid-template-columns:minmax(15rem, 1fr) minmax(0, 2fr);overflow:hidden;border:1px solid var(--video-border);border-radius:var(--support-panel-radius)}.video-collection-list{display:flex;flex-direction:column;min-height:0;contain:size;background:var(--video-fill);border-right:1px solid var(--video-border)}.video-collection-scroll{min-height:0;overflow-y:auto;mask-image:linear-gradient(to bottom,\n transparent,\n black min(40px, var(--video-overflow-start, 0px)),\n black calc(100% - min(40px, var(--video-overflow-end, 0px))),\n transparent);mask-repeat:no-repeat;scrollbar-width:thin;color-scheme:var(--video-color-scheme);scrollbar-color:var(--video-scrollbar) var(--video-background)}.video-collection-scroll:has(:focus-visible){mask-image:none}.video-collection-list-header{flex-shrink:0;position:sticky;top:0;z-index:1;display:flex;justify-content:space-between;padding:0.75rem 0.875rem;border-bottom:1px solid var(--video-border);background:var(--video-background);color:var(--video-muted);font-size:0.8125rem;font-weight:600}.video-collection-item{flex-shrink:0;display:flex;align-items:center;gap:0.75rem;width:100%;padding:0.875rem;border-bottom:1px solid var(--video-border);text-align:left;color:inherit;cursor:pointer;line-height:1.4}.video-collection-item:last-child{border-bottom:0}.video-collection-item:hover{background:var(--video-hover)}.video-collection-item[aria-pressed=\"true\"]{background:var(--video-selected)}.video-collection-item:focus-visible{position:relative;outline:2px solid var(--video-link);outline-offset:-3px;border-radius:4px}.video-collection-thumbnail{position:relative;display:grid;place-items:center;width:5rem;aspect-ratio:16 / 9;flex-shrink:0;overflow:hidden;border-radius:6px;background:#1c1917;color:#fff}.video-collection-thumbnail img{width:100%;height:100%;object-fit:cover}.video-collection-duration{position:absolute;right:3px;bottom:3px;padding:1px 4px;border-radius:3px;background:rgb(0 0 0 / 80%);color:#fff;font-size:0.75rem;line-height:1.4;font-variant-numeric:tabular-nums}.video-collection-item-title{flex:1;min-width:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:0.875rem;font-weight:500}.video-collection-selected{flex-shrink:0;color:var(--video-muted);font-size:0.625rem;visibility:hidden}.video-collection-item[aria-pressed=\"true\"] .video-collection-selected{visibility:visible}.video-collection-current{min-width:0;background:var(--video-caption-background)}.video-collection-player{display:block;width:100%;aspect-ratio:16 / 9;border:0;background:#000}.video-collection-caption{--support-link-color: #a8d2ff;padding:1rem 1.125rem;color:#f5f7fa}.video-collection-title{margin:0;font-size:1rem;font-weight:600;line-height:1.5}.video-collection-article,.video-collection-all{font-size:0.8125rem;line-height:1.5}.video-collection-article{margin-top:0.5rem}.video-collection-all{margin-top:0.875rem}@media (max-width: 767px){.video-collection-layout{grid-template-columns:minmax(0, 1fr)}.video-collection-list{contain:none;max-height:18rem;border-right:0;border-top:1px solid var(--video-border)}.video-collection-item{padding:0.75rem}.video-collection-thumbnail{width:5.5rem}.video-collection-selected{display:none}}#content a.support-product-link{color:inherit;border:0;text-decoration:none}#content a.support-product-link>span[aria-hidden]{filter:drop-shadow(0 1px 2px rgb(0 0 0 / 7%)) drop-shadow(0 3px 4px rgb(0 0 0 / 4%))}#content a.support-product-link:hover{color:var(--support-link-color)}#content a.support-product-link:focus-visible{outline:2px solid currentColor;outline-offset:4px;border-radius:4px}#content .support-product-subtitle{margin:0.125rem 0 0;line-height:1.35;color:rgb(var(--gray-600))}.dark #content .support-product-subtitle{color:rgb(var(--gray-300))}#content:has(.support-home-landing){margin-block-end:0}#content:has(.support-home-landing)>.support-content-band{margin-block-start:2.5rem}#content:has(.support-home-landing) .support-content-band>h2{margin-block-start:3rem}#body-content:has(.support-home-landing) #footer>div{padding-block:4rem}#content:has(.support-home-landing) .support-content-band>h2:first-child{margin-block-start:0}"}],"page":{"pagePath":"winwedge/using-winwedge-with-visual-basic-to-pass-serial-data-to-an-active-server-pa","slug":"/winwedge/using-winwedge-with-visual-basic-to-pass-serial-data-to-an-active-server-pa","pageMetadata":{"title":"Using WinWedge with Visual Basic to pass serial data to an active server page","description":"Send serial readings to a classic ASP page using the VB6 Wedge2URL example.","source_url":"https://www.taltech.com/support/using_winwedge_with_visual_basic_to_pass_serial_data_to_an_active_server_pa/","products":["WinWedge"],"keywords":["WinWedge Wedge2URL VB6 example","serial data to classic ASP page","Wedge2URL Setup.ini COM URL","VB6 DDE to web page","IIS 4 PWS instrument data"],"sidebarTitle":"Using WinWedge with Visual Basic to pass serial data to an active server page","href":"/winwedge/using-winwedge-with-visual-basic-to-pass-serial-data-to-an-active-server-pa"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Send serial readings to a classic ASP page using the VB6 Wedge2URL example.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,OptimizedImage}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Suppose that you had an instrument that provided some sort of data on a regular basis and you wanted to update an Active Server Page with new data each time it was transmitted from the instrument.`}),`\n`,_jsx(_components.p,{children:`Unfortunately Active Server Pages do not support Dynamic Data Exchange, so we cannot simply add DDE Commands to our VBScript. Instead we will use a compiled Visual Basic Program to call our ASP code with the data.`}),`\n`,_jsx(Heading,{level:`2`,id:`how-to-use-this-program`,children:`How to use this program`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`https://www.taltech.com/files/Wedge2URL.exe`,children:`Download`}),` and install the Project files.`]}),`\n`,_jsx(_components.li,{children:`Copy the ASP files onto your Web Server.`}),`\n`,_jsx(_components.li,{children:`Set up WinWedge.`}),`\n`,_jsx(_components.li,{children:`Change the Com port and URL information in the Setup.ini file.`}),`\n`,_jsx(_components.li,{children:`Launch WinWedge (Activated).`}),`\n`,_jsx(_components.li,{children:`Launch Wedge2URL.exe.`}),`\n`,_jsx(_components.li,{children:`Transmit data from your serial Device.`}),`\n`,_jsx(_components.li,{children:`Your Default Web browser should open displaying your data. If this does not happen check the troubleshooting section of this page.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`system-requirements`,children:`System requirements`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`PC running Microsoft Windows 3x/9x/NT/2000/XP`}),`\n`,_jsx(_components.li,{children:`ASP compatible Webserver e.g, Personal WebServer 4.0 or IIS 4.0 or later`}),`\n`,_jsx(_components.li,{children:`An available RS-232 Serial Port`}),`\n`,_jsx(_components.li,{children:`WinWedge v1.2 or later from TALtech, Inc.`}),`\n`,_jsx(_components.li,{children:`Compatible RS-232 Serial device`}),`\n`,_jsx(_components.li,{children:`Microsoft Visual Basic 6.0 or later (to view, modify and recompile project files)`}),`\n`,_jsx(_components.li,{children:`Internet Explorer 4.0 or later (recommended) or other Windows compatible Web Browser`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`how-it-works`,children:`How it works`}),`\n`,_jsx(_components.p,{children:`The Visual Basic program Wedge2URL\\xA0establishes a DDE Link to WinWedge. Every time the data in WinWedge changes, the change is reflected in the VB Program and the new data is appended to a string (representing a URL) that looks like:`}),`\n`,_jsx(_components.p,{children:_jsx(_components.code,{children:`\"http://www.mysite.com/myfile.asp?Wedgedata=1.234\"`})}),`\n`,_jsx(_components.p,{children:`This string is then passed as part of a Shell command to launch the default web browser with the Specified URL. The ASP Code retrives the “Wedgedata=…” part and displays it on the page.`}),`\n`,_jsx(Heading,{level:`2`,id:`steps-for-setting-up-winwedge`,children:`Steps for setting up WinWedge`}),`\n`,_jsx(_components.p,{children:`Simply configure WinWedge to work with your device (Follow the Quick Set Up Steps at the front of your WinWedge Manual). Don’t worry about trying to parse and filter your data, this will be done in the ASP code.`}),`\n`,_jsx(_components.p,{children:`Note: Because WinWedge always behaves as a DDE Server regardless of which mode you choose, you can use the example below in Keystrokes mode, DDE Mode or Log to disk mode (Pro version only). This means that not only can you update your ASP Page but at the same time you can record your data in Excel, or notepad, or a log file!`}),`\n`,_jsx(Heading,{level:`2`,id:`the-setup-ini-file`,children:`The setup.ini file`}),`\n`,_jsx(_components.p,{children:`The format\\xA0described here is an implementation of the “.INI File Format”, as defined in the Microsoft Windows for Workgroups Resource Kit. An INI file is a text file divided into sections, each containing zero or more keys. Each key contains zero or more values.`}),`\n`,_jsx(_components.p,{children:`Example:`}),`\n`,_jsx(_components.p,{children:_jsx(_components.code,{children:`[SectionName] keyname=value ;comment keyname=value, value, value ;comment`})}),`\n`,_jsx(_components.p,{children:`Section names are enclosed in square brackets, and must begin at the beginning of a line. Section and key names are case-insensitive, and cannot contain spacing characters. The key name is followed by an equal sign (“=”), optionally surrounded by spacing characters, which are ignored. If the same section appears more than once in the same file, or if the same key appears more than once in the same section, then the last occurrence prevails. Multiple values for a key are separated by a comma followed by at least one spacing character.`}),`\n`,_jsx(_components.p,{children:`The Setup.ini file for Wedge2URL looks like:`}),`\n`,_jsx(_components.p,{children:_jsx(_components.code,{children:`[Startup] URL=http://www.mysite.com/wedge2url.asp?wedgedata=ComPort=Com1`})}),`\n`,_jsx(_components.p,{children:`The URL should include the full http path to your asp file, the asp filename followed by a question mark (“?”). If you have only one field you can specify a variable name like “Wedgedata” above to represent the value of \\xA0that field. If your have defined more\\xA0than 1 field in WinWedge, you can either hardcode the variable names in the Visual\\xA0Basic program, or reconfigure WinWedge to send just a single field of data and parse it\\xA0out in your ASP code. See the section on Dealing with Multiple Data Fields for more\\xA0information.`}),`\n`,_jsx(Heading,{level:`2`,id:`the-visual-basic-program-winwedge-to-url`,children:`The visual basic program (WinWedge to URL)`}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/taltech-bdc45607/90dE9DPyCdPJ5zuC/images/WW2URL.gif?s=292f2334ea804f01c41b3f87400ca872`,alt:`WinWedge to URL sample application window showing the received data value and an Exit button`,\"data-og-width\":`320`,width:`320`,\"data-og-height\":`95`,height:`95`,\"data-path\":`images/WW2URL.gif`,\"data-optimize\":`true`,\"data-opv\":`3`}),`\n`,_jsxs(_components.p,{children:[`The code for the visual basic program is based on the WinWedge DDE Example for Visual Basic – `,_jsx(_components.a,{href:`/winwedge/linking-a-vb-text-box-to-a-winwedge-data-field`,children:`Linking a VB Text Box to a WinWedge Data Field`}),`.\\xA0At its most basic the Project consists of a only a single form and a module but, to make our example more useful, instead of ‘hard coding’ variables like the selected com port and the URL to send the data to, we added code to read these parameters from a setup.ini file. This method allows you to easily add more of your own settings and change variables without needing to recompile the program each time. In addition we added code to allow the program to be minimized to the system tray, since no user interaction is required.`]}),`\n`,_jsx(_components.p,{children:`The extra features add many lines of code that make it appear to be more complex than it really is so lets take a look at the just the key elements of the Program:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`30`,language:`vb`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`vb`,children:_jsxs(_components.code,{language:`vb`,numberOfLines:`30`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` Sub `}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`Main`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`' *** This routine launches Default Browser with Custom URL`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`'Declare Variables`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`Dim`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` ExecPath `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`As`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` String`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` strStart`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` nResult`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` MyURL`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`$`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`' Get the directory Path where this code is executing`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`' (To retrieve values from setup.ini file stored in same`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`' directory)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`ExecPath`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` IIf`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"/\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` Mid`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(App.Path, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`Len`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(App.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Path`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)), App.Path, App.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Path`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u0026`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`' Read URL value from setup.ini into MyURL$ variable`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`MyURL`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`$`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` mfncGetFromIni`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Startup\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"URL\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` ExecPath`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u0026`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Setup.ini\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`' Append Wedge data to a string representing a URL:`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`strStart`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Start.exe \"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` MyURL`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`$`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Form1.Text1.Text`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`' (Start.exe is a program that is part of the Windows`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`' Operating system that allows you to run a program by its`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`' associated extension. MyURL$ is the main part of the URL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`' Specified in setup.ini:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`' e.g., \"Http://www.website.com/myfile.asp?Wedgedata=\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`' Form1.Text1.Text is the data from WinWedge.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`' By concatenating all of these elements together we can use`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`' them in a shell command to launch the browser and open the`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`' page.`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`'Launch the Browser with the URL - vbhide hides the dos window`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`' that appears when start.exe is run`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`nResult`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` Shell`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`strStart`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` vbHide`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`End Sub`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Essentially, the only line of code that matters is the last line – we could hardcode the base URL here and shorten the code to just that line with the same result:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`vb`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`vb`,children:_jsxs(_components.code,{language:`vb`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` Sub `}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`Main_b`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Shell `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Start.exe http://www.website.com/myfile.asp?Wedgedata=\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Form1.Text1.Text,`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` vbHide`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`End Sub`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`But in so doing we would need to recompile the program if we needed to point to a different URL.`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Note:`}),`\\xA0If your device sends multiple fields of data you should still set up WinWedge for a single data field and then parse and filter using your ASP code`]}),`\n`,_jsx(Heading,{level:`2`,id:`the-asp-code`,children:`The asp code`}),`\n`,_jsx(_components.p,{children:`All we are doing in our ASP code is retrieve the Wedgedata variable and display the data on the page:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`vb`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`vb`,children:_jsxs(_components.code,{language:`vb`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c%`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` @`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Language`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` VBScript`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` %>`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c%`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`' declare variables`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`Dim`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` strWedgeData`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`' retrieve wedgedata information`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`strWedgeData`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` Trim`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`Request`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`QueryString`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"WedgeData\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`))`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`%>`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Here is your wedge data:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`vb`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`vb`,children:_jsxs(_components.code,{language:`vb`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c%=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` strWedgeData`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` %>`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`dealing-with-multiple-data-fields`,children:`Dealing with multiple data fields`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Parsing`})}),`\n`,_jsx(_components.p,{children:`If you need to parse several comma delimited fields of data from the “WedgeData” variable in your ASP code then you could use:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`40`,language:`vb`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`vb`,children:_jsxs(_components.code,{language:`vb`,numberOfLines:`40`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c%`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` @`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Language`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` VBScript`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` %>`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c%`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`' declare variables`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`Dim`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` strWedgeData`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-light-font-weight\":`bold`,\"--shiki-dark\":`#9CDCFE`,\"--shiki-dark-font-weight\":`inherit`},children:`,`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` i`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`Dim`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` StartPos`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-light-font-weight\":`bold`,\"--shiki-dark\":`#9CDCFE`,\"--shiki-dark-font-weight\":`inherit`},children:`,`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` MyVar`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` DelimPos`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`Dim`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Myarray`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`3`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`' Specify the number of fields you need to parse between the parenthesis`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`'retrieve wedgedata information`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`strWedgeData`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` Trim`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`Request`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`QueryString`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"WedgeData\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`))`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`' How to separate multiple comma delimited fields from the single strWedgeData variable:`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`' Add Terminating delimiter`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`MyVar`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` strWedgeData`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u0026`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \",\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`' starting position in the string - start at 1st byte`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`StartPos`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 1`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`' scan until we reach the end of the string`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`While`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` StartPos`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` Len`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`MyVar`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` ' find the next comma delimiter`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` DelimPos`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` InStr`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`StartPos`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` MyVar`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\",\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` ' pull out a data point between the starting position and the position of the delimiter`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` DataPoint`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` Mid`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`MyVar`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` StartPos`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` DelimPos`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` -`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` StartPos`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` ' update the starting position (skip over the delimiter)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` StartPos`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` DelimPos`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` +`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 1`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` ' Field counter`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` fCount`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` fCount`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` +`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 1`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` ' save the current data point`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` Myarray`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`fCount`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` DataPoint`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`' go get the next point`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`Wend`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`%>`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Here is your wedge data:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`vb`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`vb`,children:_jsxs(_components.code,{language:`vb`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c%`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`'Loop through each record in the array and display the data`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`For`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` i`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 1`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` to`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` Ubound`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Myarray`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`Response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`Write`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Field \"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` i`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u0026`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \" = \"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u0026`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` Myarray`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`i`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`next`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` 'i`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`%>`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Filtering`})}),`\n`,_jsx(_components.p,{children:`If you\\xA0do not want every field to be displayed use an\\xA0If\\xA0Statement to test the field number currently being processed, if you do not want to display that field then do nothing, otherwise display the field. For Example if you want to filter out field 3 then you could use the following code:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`html`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`html`,children:_jsxs(_components.code,{language:`html`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`'Loop through each record in the array and display the data 'Unless it is field 3 For i = 1 to Ubound(Myarray) If i `}),_jsx(_components.span,{style:{color:`#82071E`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#F44747`,\"--shiki-dark-font-style\":`inherit`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`> 3 then Response.Write(\"Field \" \u0026 i \u0026 \" = \" \u0026 Myarray(i) \u0026 \" \") End if next 'i`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`troubleshooting`,children:`Troubleshooting`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Nothing happens!`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Is WinWedge Activated?`}),`\n`,_jsx(_components.li,{children:`If so, is there any data in WinWedge?`}),`\n`,_jsx(_components.li,{children:`If not, refer to the WinWedge manual or Online Support Pages for Help`}),`\n`,_jsx(_components.li,{children:`Is Wedge2URL running?`}),`\n`,_jsx(_components.li,{children:`So you see data in this program?`}),`\n`,_jsx(_components.li,{children:`Do you have a web browser?`}),`\n`,_jsx(_components.li,{children:`Did you upload the ASP files to your webserver?`}),`\n`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Wedge2URL doesn’t run!`})}),`\n`,_jsx(_components.p,{children:`This program requires the visual basic runtimes. Download them now.`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`http://download.microsoft.com/download/vb60pro/install/6/Win98Me/EN-US/VBRun60.exe`,children:`Download Vbrun60.exe`}),` (size: 1.34 MB)`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Reference`})}),`\n`,_jsx(_components.p,{children:`For additional information, please see the following article in the Microsoft Knowledge Base:`}),`\n`,_jsxs(_components.p,{children:[`ARTICLE-ID: `,_jsx(_components.a,{href:`http://support.microsoft.com/support/kb/articles/Q192/4/61.asp`,children:`Q192467`})]}),`\n`,_jsx(_components.p,{children:`TITLE: File VBRUN60.EXE Installs Visual Basic 6.0 Run-Time Files`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`I can’t open some of the project files!`})}),`\n`,_jsx(_components.p,{children:`Do you have Visual Basic 6 installed on your PC?`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`I get “Error 404 – File Not Found” errors in my browser!`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Did you upload the ASP Files to your webserver?`}),`\n`,_jsx(_components.li,{children:`Did you Modify the Setup.ini file to point to the correct file in the correct location?`}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Using WinWedge with Visual Basic to pass serial data to an active server page","description":"Send serial readings to a classic ASP page using the VB6 Wedge2URL example.","source_url":"https://www.taltech.com/support/using_winwedge_with_visual_basic_to_pass_serial_data_to_an_active_server_pa/","products":["WinWedge"],"keywords":["WinWedge Wedge2URL VB6 example","serial data to classic ASP page","Wedge2URL Setup.ini COM URL","VB6 DDE to web page","IIS 4 PWS instrument data"],"sidebarTitle":"Using WinWedge with Visual Basic to pass serial data to an active server page","href":"/winwedge/using-winwedge-with-visual-basic-to-pass-serial-data-to-an-active-server-pa"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"How to use this program","slug":"how-to-use-this-program","depth":2,"children":[]},{"title":"System requirements","slug":"system-requirements","depth":2,"children":[]},{"title":"How it works","slug":"how-it-works","depth":2,"children":[]},{"title":"Steps for setting up WinWedge","slug":"steps-for-setting-up-winwedge","depth":2,"children":[]},{"title":"The setup.ini file","slug":"the-setup-ini-file","depth":2,"children":[]},{"title":"The visual basic program (WinWedge to URL)","slug":"the-visual-basic-program-winwedge-to-url","depth":2,"children":[]},{"title":"The asp code","slug":"the-asp-code","depth":2,"children":[]},{"title":"Dealing with multiple data fields","slug":"dealing-with-multiple-data-fields","depth":2,"children":[]},{"title":"Troubleshooting","slug":"troubleshooting","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/taltech-bdc45607/eec41a6a835842e1/search.js"],"subdomain":"taltech-bdc45607","siteName":"TALtech Support","title":"Using WinWedge with Visual Basic to pass serial data to an active server page - TALtech Support","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-22T19:05:25.249Z","gitLastModified":"2026-10-22T19:05:11.000Z","originalFileLocation":"winwedge/using-winwedge-with-visual-basic-to-pass-serial-data-to-an-active-server-pa.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Send serial readings to a classic ASP page using the VB6 Wedge2URL example.\">\u003cmeta data-mint-head name=\"application-name\" content=\"TALtech Support\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/taltech-bdc45607/YFqszPMCzxP0Sxv6/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/taltech-bdc45607/YFqszPMCzxP0Sxv6/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/taltech-bdc45607/YFqszPMCzxP0Sxv6/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/taltech-bdc45607/YFqszPMCzxP0Sxv6/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/taltech-bdc45607/YFqszPMCzxP0Sxv6/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/taltech-bdc45607/YFqszPMCzxP0Sxv6/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/taltech-bdc45607/YFqszPMCzxP0Sxv6/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/taltech-bdc45607/YFqszPMCzxP0Sxv6/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/taltech-bdc45607/YFqszPMCzxP0Sxv6/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Using WinWedge with Visual Basic to pass serial data to an active server page - TALtech Support\">\u003cmeta data-mint-head property=\"og:description\" content=\"Send serial readings to a classic ASP page using the VB6 Wedge2URL example.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"TALtech Support\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://support.taltech.com/winwedge/using-winwedge-with-visual-basic-to-pass-serial-data-to-an-active-server-pa\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://taltech-bdc45607.mintlify.site/_mintlify/api/og/v2?division=Other+DDE+macros+and+code+examples\u0026amp;title=Using+WinWedge+with+Visual+Basic+to+pass+serial+data+to+an+active+server+page\u0026amp;description=Send+serial+readings+to+a+classic+ASP+page+using+the+VB6+Wedge2URL+example.\u0026amp;theme=f8e61b9561bcdbc21b6abc28\u0026amp;signature=38a501a5408cb624711cc1271e70846f268dc7e3c9050bd338f0e4c66ca21c8e\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Using WinWedge with Visual Basic to pass serial data to an active server page - TALtech Support\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Send serial readings to a classic ASP page using the VB6 Wedge2URL example.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://taltech-bdc45607.mintlify.site/_mintlify/api/og/v2?division=Other+DDE+macros+and+code+examples\u0026amp;title=Using+WinWedge+with+Visual+Basic+to+pass+serial+data+to+an+active+server+page\u0026amp;description=Send+serial+readings+to+a+classic+ASP+page+using+the+VB6+Wedge2URL+example.\u0026amp;theme=f8e61b9561bcdbc21b6abc28\u0026amp;signature=38a501a5408cb624711cc1271e70846f268dc7e3c9050bd338f0e4c66ca21c8e\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/taltech-bdc45607/YFqszPMCzxP0Sxv6/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"TALtech Support\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0764B9\">\u003clink data-mint-head rel=\"canonical\" href=\"https://support.taltech.com/winwedge/using-winwedge-with-visual-basic-to-pass-serial-data-to-an-active-server-pa\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/winwedge/using-winwedge-with-visual-basic-to-pass-serial-data-to-an-active-server-pa.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://support.taltech.com/#organization\",\"name\":\"TALtech Support\",\"url\":\"https://support.taltech.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/taltech-bdc45607/x77iB9KQeUuF5CKJ/images/brand/Logo.svg?fit=max\u0026auto=format\u0026n=x77iB9KQeUuF5CKJ\u0026q=85\u0026s=281267d1812ad821819e27a3fc4627a8\"}},{\"@type\":\"WebSite\",\"@id\":\"https://support.taltech.com#website\",\"name\":\"TALtech Support\",\"url\":\"https://support.taltech.com\",\"publisher\":{\"@id\":\"https://support.taltech.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://support.taltech.com/winwedge/using-winwedge-with-visual-basic-to-pass-serial-data-to-an-active-server-pa#webpage\",\"url\":\"https://support.taltech.com/winwedge/using-winwedge-with-visual-basic-to-pass-serial-data-to-an-active-server-pa\",\"name\":\"Using WinWedge with Visual Basic to pass serial data to an active server page\",\"description\":\"Send serial readings to a classic ASP page using the VB6 Wedge2URL example.\",\"dateModified\":\"2026-10-22T19:05:11.000Z\",\"isPartOf\":{\"@id\":\"https://support.taltech.com#website\"},\"breadcrumb\":{\"@id\":\"https://support.taltech.com/winwedge/using-winwedge-with-visual-basic-to-pass-serial-data-to-an-active-server-pa#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://support.taltech.com/winwedge/using-winwedge-with-visual-basic-to-pass-serial-data-to-an-active-server-pa#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Advanced articles\",\"item\":\"https://support.taltech.com/winwedge/keystrokes-vs-dde\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Other DDE macros and code examples\",\"item\":\"https://support.taltech.com/winwedge/macros-for-excel-access-and-word\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Using WinWedge with Visual Basic to pass serial data to an active server page\",\"item\":\"https://support.taltech.com/winwedge/using-winwedge-with-visual-basic-to-pass-serial-data-to-an-active-server-pa\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://support.taltech.com/winwedge/using-winwedge-with-visual-basic-to-pass-serial-data-to-an-active-server-pa#article\",\"headline\":\"Using WinWedge with Visual Basic to pass serial data to an active server page\",\"name\":\"Using WinWedge with Visual Basic to pass serial data to an active server page\",\"description\":\"Send serial readings to a classic ASP page using the VB6 Wedge2URL example.\",\"url\":\"https://support.taltech.com/winwedge/using-winwedge-with-visual-basic-to-pass-serial-data-to-an-active-server-pa\",\"mainEntityOfPage\":{\"@id\":\"https://support.taltech.com/winwedge/using-winwedge-with-visual-basic-to-pass-serial-data-to-an-active-server-pa#webpage\"},\"dateModified\":\"2026-10-22T19:05:11.000Z\",\"keywords\":\"WinWedge Wedge2URL VB6 example, serial data to classic ASP page, Wedge2URL Setup.ini COM URL, VB6 DDE to web page, IIS 4 PWS instrument data\",\"publisher\":{\"@id\":\"https://support.taltech.com/#organization\"},\"isPartOf\":{\"@id\":\"https://support.taltech.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"TALtech Support\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"TALtech Support","nav":{"global":{"anchors":[{"anchor":"Support home","icon":"house","href":"/"}]},"products":[{"product":"Support home","icon":"life-buoy","color":{"light":"#0F52BA","dark":"#3271D0"},"pages":[{"title":"Support home","href":""}]},{"product":"WinWedge","icon":"https://mintlify.s3.us-west-1.amazonaws.com/taltech-bdc45607/images/product-icons/WinWedge.svg","color":{"light":"#a38915","dark":"#a38915"},"pages":[{"title":"WinWedge, WinWedge Pro, and TCP‑Wedge Support","sidebarTitle":"WinWedge / TCP-Wedge support home","mode":"center","href":"/winwedge"},{"group":"Support articles","pages":[{"group":"Quick start","expanded":false,"pages":[{"title":"WinWedge setup and quick start guide","sidebarTitle":"WinWedge quick start guide","href":"/winwedge/winwedge-quick-start"},{"title":"TCP-Wedge setup and quick start guide","sidebarTitle":"TCP-Wedge quick start guide","href":"/winwedge/tcp-wedge-quick-start-guide"},{"title":"The difference between WinWedge and TCP-Wedge","sidebarTitle":"The difference between WinWedge and TCP-Wedge","href":"/winwedge/tcpwedge-winwedge-differences"},{"title":"Common device settings for WinWedge configuration","sidebarTitle":"Common device settings for WinWedge configuration","href":"/winwedge/device-settings-and-saved-configuration-files"},{"title":"How to move WinWedge or WinWedge Pro to a new PC","sidebarTitle":"Move WinWedge to a new PC","href":"/winwedge/move-winwedge-to-a-new-pc"},{"title":"WinWedge video tutorials","sidebarTitle":"Video tutorials","href":"/winwedge/video-tutorials"},{"title":"What is WinWedge?","href":"/winwedge/what-is-winwedge"},{"title":"WinWedge compatible devices","href":"/winwedge/winwedge-compatible-devices"},{"title":"WinWedge “start here” tutorial","mode":"wide","href":"/winwedge/winwedge-start-here-tutorial"}]},{"group":"Windows 11","boost":2,"expanded":false,"pages":[{"title":"WinWedge Windows 11 compatibility guide","href":"/winwedge/winwedge-windows-11-compatibility-guide"},{"title":"WinWedge stopped typing data into applications after a Windows 11 update","sidebarTitle":"No keystrokes after Windows 11 update","href":"/winwedge/winwedge-stopped-sending-keystrokes-after-windows-11-update"}]},{"group":"Troubleshooting","boost":2,"expanded":false,"pages":[{"title":"Device data is missing or unreadable","sidebarTitle":"Device data is missing or unreadable","href":"/winwedge/device-data-is-missing-or-unreadable"},{"title":"WinWedge not sending data to Excel or another application","sidebarTitle":"Data appears in Analyze window but does not show up after activation","href":"/winwedge/data-appears-in-analyze-window-but-does-not-show-up-after-activation"},{"title":"Unrecognizable data in the Analyze window","sidebarTitle":"Unrecognizable data in the Analyze window","href":"/winwedge/unrecognizable-data-in-the-analyze-window"},{"title":"No data appears in the Analyze window","sidebarTitle":"No data appears in the Analyze window","href":"/winwedge/no-data-appears-in-the-analyze-window"},{"title":"Data is automatically entered into Notepad","sidebarTitle":"Data is automatically entered into Notepad","href":"/winwedge/data-is-automatically-entered-into-notepad"},{"title":"COM port does not exist","href":"/winwedge/com-port-does-not-exist"},{"title":"COM port from adapter no longer works after upgrading to Windows 11","sidebarTitle":"COM port from adapter no longer works after upgrading to Windows 11","href":"/winwedge/com-port-from-adapter-no-longer-works-after-upgrading-to-windows-11"},{"title":"Data cannot be entered into a userform in Excel","sidebarTitle":"Data cannot be entered into a user form in Excel","href":"/winwedge/data-cannot-be-entered-into-a-userform-in-excel"},{"title":"Disabling Windows detection of serial mice to fix “COM port not available” errors","sidebarTitle":"Disabling Windows detection of serial mice to fix “COM port not available” errors","href":"/winwedge/windows-2000-nt-serial-mice-and-missing-com-port"},{"title":"Lost data when running multiple instances of WinWedge in Microsoft Access","sidebarTitle":"Lost data when running multiple instances of WinWedge in Microsoft Access","href":"/winwedge/lost-data-when-running-multiple-instances-of-winwedge-in-microsoft-access"},{"title":"Leading zeroes are truncated when using WinWedge in DDE mode with Excel","sidebarTitle":"Leading zeroes are truncated when using WinWedge in DDE mode with Excel","href":"/winwedge/leading-zeroes-are-truncated-when-using-winwedge-in-dde-mode-with-excel"},{"title":"WinWedge error messages index","sidebarTitle":"WinWedge error messages index","href":"/winwedge/winwedge-error-messages-index"},{"title":"Custom hotkey or keyboard shortcut not working","href":"/winwedge/custom-hotkey-or-keyboard-shortcut-not-working"},{"title":"First character is removed while using WinWedge in keystrokes mode","href":"/winwedge/first-character-is-removed-while-using-winwedge-in-keystrokes-mode"},{"title":"Installation error: “setup cannot copy the file setup1.ex_ …”","href":"/winwedge/installation-error-setup-cannot-copy-the-file-setup1-ex2"}]},{"group":"Filtering and formatting your data","boost":2,"expanded":false,"pages":[{"title":"Understanding your scale or device data structure for WinWedge configuration","sidebarTitle":"Understanding your device’s data","href":"/winwedge/understanding-your-scale-or-device-data-structure-for-winwedge-configuration"},{"title":"Adding a date and time stamp to data","sidebarTitle":"Adding date and time stamps to your data","href":"/winwedge/adding-a-date-and-time-stamp-to-data"},{"title":"Using the pre-input character translation table","sidebarTitle":"Using the pre-input character translation table","href":"/winwedge/using-the-pre-input-character-translation-table"},{"title":"Defining fewer data fields than are actually received","sidebarTitle":"Defining fewer data fields than are actually received","href":"/winwedge/defining-fewer-data-fields-than-are-actually-recieved"},{"title":"Defining more data fields than are actually received","sidebarTitle":"Defining more data fields than are actually received","href":"/winwedge/defining-more-data-fields-than-are-actually-received"},{"title":"Dealing with devices that output data continuously","sidebarTitle":"Dealing with devices that output data continuously","href":"/winwedge/dealing-with-devices-that-output-data-continuously"},{"title":"Converting binary data to decimal","sidebarTitle":"Converting binary data to decimal","href":"/winwedge/coverting-binary-data-to-decimal"},{"title":"Defining keystrokes and keystroke macros in WinWedge","href":"/winwedge/defining-keystrokes-and-keystroke-macros-in-winwedge"}]},{"group":"Hotkeys and device commands","boost":2,"expanded":false,"pages":[{"title":"Sending output commands to your device","sidebarTitle":"Sending output commands to your device","href":"/winwedge/setting-up-output-commands-to-your-device"},{"title":"Defining hot keys and actions","sidebarTitle":"Defining hot keys and actions","href":"/winwedge/defining-hotkeys"},{"title":"Invoking hot keys in other applications","sidebarTitle":"Invoking hot keys in other applications","href":"/winwedge/invoking-hot-keys-in-other-applications"},{"title":"Copy and paste from ‘output field’ in Analyze window","sidebarTitle":"Copy and paste from ‘output field’ in Analyze window","href":"/winwedge/copy-and-paste-from-output-field-in-analyze-window"}]},{"group":"Serial and network connections","boost":2,"expanded":false,"pages":[{"title":"RS232 and serial communications","sidebarTitle":"RS232 and serial communications","href":"/winwedge/serial-intro"},{"title":"What to do if your PC has no RS232 ports","sidebarTitle":"What to do if your PC has no RS232 ports","href":"/winwedge/what-to-do-if-your-pc-has-no-rs232-ports"},{"title":"Identify your device’s COM port with Device Manager","sidebarTitle":"Identify your device’s COM port with Device Manager","href":"/winwedge/identify-com-port"},{"title":"Connecting scales, balances, and other devices to PCs","sidebarTitle":"Connecting scales, balances, and other devices to PCs","href":"/winwedge/connecting-scales-balances-and-other-devices-to-pcs"},{"title":"A brief overview of TCP/IP communications","sidebarTitle":"A brief overview of TCP/IP communications","href":"/winwedge/a-brief-overview-of-tcp-ip-communications"},{"title":"Connecting a serial device to a TCP/IP network","sidebarTitle":"Connecting a serial device to a TCP/IP network","href":"/winwedge/interfacing-rs232-to-tcp-ip"},{"title":"Connecting to a serial or networked device over the Internet","sidebarTitle":"Connecting to a serial or networked device over the internet","href":"/winwedge/sending-and-receiving-serial-data-over-the-internet"},{"title":"Recommended hardware","sidebarTitle":"Recommended hardware","href":"/winwedge/recommended-hardware"},{"title":"Sartorius balance cable pinouts","href":"/winwedge/sartorius-balance-cable-pinouts"}]},{"group":"Other articles","expanded":false,"pages":[{"title":"Delaying WinWedge startup when using with TCP-Com","sidebarTitle":"Delaying WinWedge startup when using with TCP-Com","href":"/winwedge/delaying-winwedge-startup-when-using-with-tcp-com"},{"title":"21 CFR 11 compliance with WinWedge","sidebarTitle":"21 CFR 11 compliance with WinWedge","href":"/winwedge/21-cfr-11"},{"title":"Quality control automation","sidebarTitle":"Quality control automation","href":"/winwedge/quality-control-auto"},{"title":"Running WinWedge as a Windows service","sidebarTitle":"Running WinWedge as a Windows service","href":"/winwedge/running-winwedge-as-a-windows-nt-service"},{"title":"Automatically running WinWedge on PC startup or with a specific configuration","href":"/winwedge/automatically-running-winwedge-on-pc-startup-or-with-a-specific-configuration"},{"title":"Can WinWedge be used to implement Modbus protocols?","href":"/winwedge/can-winwedge-be-used-to-implement-modbus-protocols"},{"title":"Capturing data to CSV files with WinWedge","href":"/winwedge/capturing-data-to-csv-files-with-winwedge"}]}]},{"group":"Advanced articles","pages":[{"group":"Dynamic Data Exchange (DDE)","boost":2,"expanded":false,"pages":[{"title":"Keystrokes mode and DDE mode","sidebarTitle":"Keystrokes mode and DDE mode","href":"/winwedge/keystrokes-vs-dde"},{"title":"Running WinWedge in the background","sidebarTitle":"Running WinWedge in the background","href":"/winwedge/running-winwedge-in-the-background"},{"title":"Understanding DDE","sidebarTitle":"Understanding DDE","href":"/winwedge/understanding-dynamic-data-exchange"},{"title":"Overview of DDE and WinWedge","sidebarTitle":"Overview of DDE and WinWedge","href":"/winwedge/dde-winwedge"},{"title":"DDE Server Mode setup guide","sidebarTitle":"“DDE server mode” setup guide","href":"/winwedge/dde-server-mode-setup-guide"},{"title":"WinWedge DDE commands","sidebarTitle":"WinWedge DDE commands","href":"/winwedge/winwedge-dde-comm"},{"title":"DDE command tester","sidebarTitle":"DDE command tester","href":"/winwedge/dde-command-tester"},{"title":"Logging to a file while passing data to other programs via DDE","sidebarTitle":"Logging to a file while passing data to other programs via DDE","href":"/winwedge/logging-to-a-file-while-passing-data-to-other-programs-via-dde"},{"title":"Collecting data from multiple devices simultaneously","href":"/winwedge/collecting-data-from-multiple-devices"},{"title":"Continually polling multiple devices in sequence","href":"/winwedge/continually-polling-multiple-devices"},{"title":"Requesting data from WinWedge using SetLinkOnData method","href":"/winwedge/requesting-data-while-in-keystrokes-mode"}]},{"group":"Excel DDE macro examples","boost":2,"expanded":false,"pages":[{"title":"Collect data into Excel using WinWedge DDE mode","href":"/winwedge/collect-data-into-excel-using-winwedge-dde-mode"},{"title":"Finding the first empty cell in a column","sidebarTitle":"Finding the first empty cell in a column","href":"/winwedge/finding-the-first-empty-cell-in-a-column"},{"title":"Creating a dynamic chart in Excel","sidebarTitle":"Creating a dynamic chart in Excel","href":"/winwedge/creating-a-dynamic-chart-in-excel"},{"title":"Introduction to Excel (and VBA) macros","sidebarTitle":"Introduction to Excel (and VBA) macros","href":"/winwedge/introduction-to-excel-and-vba-macros"},{"title":"How to enable the Developer tab in Microsoft Excel","sidebarTitle":"How to enable the Developer tab in Microsoft Excel","href":"/winwedge/how-to-enable-the-developer-tab-in-microsoft-excel"},{"title":"Advanced Excel tricks: reading large arrays of data into Excel","sidebarTitle":"Advanced Excel tricks: reading large arrays of data into Excel","href":"/winwedge/advanced-excel-tricks-reading-large-arrays-of-data-into-excel"},{"title":"Creating a dynamic chart in Excel 97 – 2003","sidebarTitle":"Creating a dynamic chart in Excel 97 – 2003","href":"/winwedge/creating-a-chart"},{"title":"Collecting a single field of data into Excel","href":"/winwedge/collecting-a-single-field-of-data-into-excel"},{"title":"Collecting multiple consecutive fields of data into Excel","href":"/winwedge/collecting-multiple-fields-of-data-into-excel"},{"title":"Getting past the 40 field limit in WinWedge","href":"/winwedge/getting-past-the-40-field-limit-in-winwedge"},{"title":"Insert data into top row and move previous readings down","href":"/winwedge/insert-top-row"},{"title":"Introduction to VBA (and VBScript)","href":"/winwedge/introduction-to-vba-and-vbscript"},{"title":"Launch a program from a macro in Excel","href":"/winwedge/launch-a-program-from-a-macro-in-excel"},{"title":"Launching WinWedge from within Excel","href":"/winwedge/launching-winwedge-from-an-excel-macro"},{"title":"Passing data from WinWedge to Excel using DDE with multiple open workbooks","href":"/winwedge/passing-data-from-winwedge-to-excel-using-dde-with-multiple-open-workbooks"},{"title":"Sending commands from Excel to a device","href":"/winwedge/sending-dde-commands-from-excel"},{"title":"VBA if statements: using control structures to make decisions","href":"/winwedge/vba-if-statements-using-control-structures-to-make-decisions"},{"title":"VBA: repeating code with control structures","href":"/winwedge/vba-repeating-code-with-control-structures"}]},{"group":"Access DDE macro examples","boost":2,"expanded":false,"pages":[{"title":"Basic inventory tracking example database","href":"/winwedge/basic-inventory-tracking-example-database"},{"title":"Opening and closing WinWedge in Access","href":"/winwedge/closing-and-opening-winwedge-access"},{"title":"Collecting data directly into a form in Access","href":"/winwedge/collecting-data-directly-into-a-form-in-access"},{"title":"Collecting data directly into a table in Access","href":"/winwedge/collecting-data-directly-into-a-table-in-access"},{"title":"Transmitting commands to devices from Access","href":"/winwedge/transmitting-commands-to-devices-from-access"}]},{"group":"Other DDE macros and code examples","boost":2,"expanded":false,"pages":[{"title":"Macros for Excel, Access, and Word","sidebarTitle":"Macros for Excel, Access, and Word","href":"/winwedge/macros-for-excel-access-and-word"},{"title":"Macros for other applications","sidebarTitle":"Macros for other applications","href":"/winwedge/macros-for-other-applications"},{"title":"Code samples for WinWedge (Visual Basic, C++, and .NET)","description":"Find examples for connecting your application to WinWedge, including VB6 and .NET.","sidebarTitle":"Code samples for WinWedge (Visual Basic, C++, and .NET)","href":"/winwedge/code-samples-for-winwedge-visual-basic-c-and-net"},{"title":"Using WinWedge with Visual Basic to pass serial data to an active server page","sidebarTitle":"Using WinWedge with Visual Basic to pass serial data to an active server page","href":"/winwedge/using-winwedge-with-visual-basic-to-pass-serial-data-to-an-active-server-pa"},{"title":"Using an ASP page to send data out the serial port","description":"Send device commands from a classic ASP form using the VB6 ASPSendOut example.","sidebarTitle":"Using an ASP page to send data out the serial port","href":"/winwedge/using-an-asp-page-to-send-data-out-the-serial-port"},{"title":"Detecting if WinWedge is running from a VB6 program","href":"/winwedge/detecting-if-winwedge-is-running-from-a-vb-program"},{"title":"Intellution FIXDMACS: input serial data using DDE","href":"/winwedge/intellution-fixdmacs-input-serial-data-using-dde"},{"title":"Launching WinWedge from a VB6 application","href":"/winwedge/launching-winwedge-from-a-vb"},{"title":"Linking a VB 6 text box to a WinWedge data field","href":"/winwedge/linking-a-vb-text-box-to-a-winwedge-data-field"},{"title":"Wonderware InTouch: linking serial data from WinWedge","href":"/winwedge/linking-serial-data-from-winwedge-to-intouch"},{"title":"MATLAB: launching, requesting data, and closing WinWedge from MATLAB","href":"/winwedge/matlab-launching-requesting-data-and-closing-winwedge-from-matlab"},{"title":"Opening and closing an application from VBA","href":"/winwedge/opening-and-closing-an-application-from-vba"},{"title":"Origin: launching the WinWedge and collecting data to a column","href":"/winwedge/origin-launching-the-winwedge-and-collecting-data-to-a-column"},{"title":"Reading serial data into Word using DDE","href":"/winwedge/reading-serial-data-into-word-using-dde-word-95-and-later"},{"title":"Send WinWedge data to Minitab via DDE","href":"/winwedge/send-serial-data-to-minitab-via-dde"},{"title":"Wonderware InTouch: sending commands to your device","href":"/winwedge/sending-commands-to-your-device-from-intouch"},{"title":"Using DDE in .NET to communicate with WinWedge","href":"/winwedge/using-dde-in-dotnet"},{"title":"Sending DDE commands to WinWedge from a VB6 app","href":"/winwedge/vb-6-sending-dde-commands-to-devices"},{"title":"Visual FoxPro: collecting data using WinWedge","href":"/winwedge/visual-fox-pro-collecting-data-using-winwedge"},{"title":"Visual FoxPro: communicating with devices through WinWedge","href":"/winwedge/visual-fox-pro-communicating-with-devices-through-winwedge"}]}]},{"group":"Legacy articles","boost":0.3,"expanded":false,"pages":[{"title":"Error: the setup.exe file is linked to missing export oleaut32.dll:185","href":"/winwedge/error-the-setup-exe-file-is-linked-to-missing-export-oleaut32-dll1852"},{"title":"Reading serial data into Word using DDE (Word 2.0-6.0)","href":"/winwedge/reading-serial-data-into-word-using-dde-word-2-0-6-0"},{"title":"Microsoft Office 2010 starter edition","href":"/winwedge/microsoft-office-2010-starter-edition"}]},{"group":"Resources","boost":0.5,"expanded":false,"pages":[{"title":"WinWedge product page","url":"https://taltech.com/winwedge-pro","href":"/external/winwedge-product"},{"title":"Trial downloads","url":"https://taltech.com/support-resources/free-trial-downloads","href":"/external/trial-downloads"},{"title":"Manuals and brochures","url":"https://taltech.com/support-resources/software-manuals-brochures","href":"/external/manuals"},{"title":"Online orders","url":"https://store.taltech.com/myaccount","href":"/external/store-account"},{"title":"Order and licensing info","url":"https://taltech.com/ordering","href":"/external/ordering"},{"title":"TALtech main site","url":"https://taltech.com","href":"/external/main-site"}]}]},{"product":"HID-ScaleWedge","icon":"https://mintlify.s3.us-west-1.amazonaws.com/taltech-bdc45607/images/product-icons/HID-ScaleWedge.svg","pages":[{"title":"HID-ScaleWedge","href":"/hid-scalewedge"}]},{"product":"BC-Wedge","icon":"https://mintlify.s3.us-west-1.amazonaws.com/taltech-bdc45607/images/product-icons/BC-Wedge.svg","pages":[{"title":"BC-Wedge","href":"/bc-wedge"}]},{"product":"TCP-Com","icon":"https://mintlify.s3.us-west-1.amazonaws.com/taltech-bdc45607/images/product-icons/TCP-Com.svg","pages":[{"title":"TCP-Com","href":"/tcp-com"}]},{"product":"B-Coder Pro","icon":"https://mintlify.s3.us-west-1.amazonaws.com/taltech-bdc45607/images/product-icons/B-Coder.svg","pages":[{"title":"B-Coder Pro","href":"/b-coder"}]},{"product":"Barcode ActiveX \u0026 DLLs","icon":"https://mintlify.s3.us-west-1.amazonaws.com/taltech-bdc45607/images/product-icons/Barcode%20ActiveX.svg","pages":[{"title":"Barcode ActiveX \u0026 DLLs","href":"/barcode-activex"}]}]},"basePath":"","title":"Using WinWedge with Visual Basic to pass serial data to an active server page - TALtech Support","buildId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","deploymentId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","dynamics":["10e4515597","a74be98ba7"],"chunks":["BannerMarkdown-BcDCEkh6.js","dist-CwjSCXIK.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","clsx-eKJ4rcii.js","html-void-elements-mCSPHezU.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","zoom-image-lightbox-DMoL6lHz.js","lightbox-handle-r17bVUz3.js"]}