Connect A VB Frontend With A Python Backend Using Sockets?

Oct 26, 2009

I have some really nice Python code to do what I need to do.I don't particularly like any of the Python GUI choices though. wxPython is nice, but for what I need, the speed on resizing,refreshing and dynamically adding controls just isn't there. I would like to create the GUI in VB.NET.I imagine I could use IronPython to link the two,but that creates a dependency on a rather large third-party product. I was perusing the MSDN documentation on Windows IPC and got the idea to use sockets. I copied the Python echo server code from the Python documentation and in under 5 minutes was able to create a client in VB.NET without even reading the System.Net.Sockets documentation, so this certainly doesn't seem too hard.

View 2 Replies


ADVERTISEMENT

Database Backend (.MDB) Copied To Project Directory - Connect To Network Drive

Apr 20, 2009

I'm a bit new to VB.NET and I have a database which I want to connect to an access backend stored on a network drive for multiple users. I can view the Database in the solution explorer and the directory defaults to the project folder. How can I specify the directory to pull from my network drive? VS has copied this datasource and imported it locally which is fine for testing, but i need the file accessible for multiple users. Is this something I do when publishing?

View 3 Replies

Connect Form To Webpage (Sockets )?

Jan 16, 2011

I am new to vb.net (2010) and am working on a project that has to send information from a client application form to a php-based web page.

View 1 Replies

Server Sockets : Showing Each Connect Ip?

Mar 25, 2011

im making a sort of basic server with ban and console broadcast and yea but now i thought to make evry user that's connected (tho the running server)(their ip) in to a listview with their username (that will be defined in to a textbox on the client) any idea's how to do it ? if you want here is my sevrer code :

Form1.vb (Main form for starting stoping broadcasting and such )
Imports System.Text
Imports System.Threading.Thread
Imports System.Net

[code]....

EDIT : does this server support's mulltiple connection's ?

View 4 Replies

Program That Uses Sockets To Connect Server To Client

Aug 2, 2010

i made a program that uses sockets to connect the server to client but there is a problem with it when i try it on this ip"127.0.0.1"wich is not a real ip just a loopback to my computer it works just fine when i use my local ip it works as well when i use my main ip from http:whatsmyip.org it doesnt work at all i dont know why it doesnt say an error or an exception but its not connecting so i gave the server to a friend of mine i tried using both his real ip and his local but still not working i dont know why?i mean i am 100% sure of my code...

View 7 Replies

BackOffice Database Application FrontEnd

Jan 15, 2011

I'm working on a project where there will be a MySQL database containing data that will mostly be displayed on the web using PHP. However, there is a need here for a back-office data entry application (linked to the same MySQL database) that is feature rich and easy to use.what I'm trying to understand is where we are at with web-based frontends. I find that there are still so many events and features that I can make use of in a Windows Desktop GUI written in something like C#, VB.Net or MS Access. I don't have a lot of experience programming UI for web but it's my impression that it's still more difficult and takes longer to get similar or the same functionality using non-MS web technologies (I dislike ASP.net, sorry) as compared to programming the desktop portion in a traditional desktop application language like C#, VB.Net, or MS Access.

jQuery and jQuery UI are definately making things easier. Also, there's very rich online applications like Google Docs and Zoho but it's my impression that these are programmed by some of the top web UI programmers around, not to mention that it takes longer to write it and intensive testing to make it work in all of your target browsers. It also takes extra time and code to "block" browsers that don't meet the requirements.I know I may not have given enough information here but I'm not sure what I'm missing. If you have questions just leave a comment below so I can edit this post and answer the questions.

View 1 Replies

VS 2008 How To Create A Frontend Application

Sep 14, 2010

I would like to create a windows forms frontend application to some command line utilities.

1. How can I launch a command line program with arguments from a vb application?

2. How can I pipe information that is returned by that program back into a textbox? Such as status information.

View 4 Replies

GUI Frontend For A Confusing Command-line Interface?

Jan 27, 2011

The small company I work for just started using this command-line software and it's rather confusing and tedious. I was wondering if it would be feasible to make a GUI frontend and how I would start going about it.If possible, I would like to have it get data to fill in dropdown boxes and such, but at the very least I'd like to be able to hit a button and perform whatever task.

View 1 Replies

Database Frontend - Retrieve The Primary Key Using The Meal Name Selected?

Aug 1, 2011

Im trying to develop a frontend for a database project I have been working on, I am using a combobox to select a meal_name and need the primary key to update another table for orders, How can I retreive the primary key using the meal name selected.below is the code I am using to add meal names to the combobox

Private Sub ComboBox1_MouseEnter(ByVal sender As Object, ByVal e As System.EventArgs) Handles ComboBox1.MouseEnter
Dim myRow As DataRow
Dim CmdStr As String[code].........

View 4 Replies

Recommend A Good Book (or Books) Out There That Can Help As A Frontend For Access?

Jan 17, 2012

I begain in 1971 learning TRS-80 Model III Basic language...later taught myself Lotus 1-2-3 and then DBase. Later, graduated to Visual Basic Stopped at VB 6.0. Now I need to move up to VB 2010...I have been programming for our company for sometime and use VB 6.0 as a front end for numerous Access DB applications.Can you recommend a good book (or books) out there that can help me with using VB 2010 as a frontend for Access?..just need the basics to be able to make connections, query the tables, return the data, update data, etc.

View 6 Replies

Writing A GUI Frontend For Varius Console Programs - Redirecting Outputstream

Jun 17, 2009

I am writing a GUI frontend for varius console programs and i am in need of assistance... the CHKDSK.exe program is causing trouble.I am using this code:

Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click
Dim argstr as string = "F: /V"
Dim p As Process[code].....

This code works for ALL other programs i have tried except chkdsk... i also tried using this loop for reading:

While
p.StandardOutput.EndOfStream = False
RichTextBox6.Text = RichTextBox6.Text & Chr(13) & p.StandardOutput.ReadLine()[code]....

View 3 Replies

Calling Dll In Python?

Sep 1, 2009

I have a function in vb that is converted to a dll that I want to use in python. However trying to use it, I get an error message this is the VB function

Function DISPLAYNAME(Name)
MsgBox ("Hello " & Name & "!")
End Function

and this is how I call it in python

from ctypes import *
test = windll.TestDLL
print test
print test.DISPLAYNAME("one")

But I get errors so what is the right way of calling the dll

Traceback (most recent call last):
File "C:Test estdll.py", line 4, in <module>
print test.DISPLAYNAME("one")

[code].....

I have been looking around online but no solution so far. Can't use cdll since this is for c progs.

View 3 Replies

Translation PYTHON To .NET?

May 15, 2009

I am coding an application in VB.NET that sends sms.Would you please post PYTHON->VB.NET translation of this code and/or guidelines?

[Code]...

View 2 Replies

Use Python Module In .net?

Feb 16, 2011

I want to use the python module imaplib, email in vb.net to read the gmail email with attachments. How can i use the python module in vb.net?

View 2 Replies

.net - VB Flamed For Being Easy And Yet Python Is Not?

Sep 19, 2010

I have always wondered about this and seen this among lots of programmers. Why is a VB programmer or VB code easily dismissed as too noobish and easy while the same does not apply to Python or Python code? After all, isn't Python as easy as VB is? And it does provide drag-n-drop GUI application building also. So why is it that VB is flamed and yet Python is not?

View 1 Replies

Convert Codes To Python ?

Jun 16, 2011

I'm wondering if i can convert vb.net codes to python ?

I have this code"

[code]..............

i guess it's like:

[code].....................

so there any converter ? it would be so nice because i got source code for program in vb.net and as you know it's work on only Windows and i want to make it work in Linux so i need Vb to python converter ..

View 1 Replies

Multiline Strings Like Python

Apr 1, 2009

Is there a way to have multiline strings in VB.NET like python

[Code]...

View 12 Replies

Possible To Access APIs In Python

Mar 17, 2011

To programming in Python, I was wondering if there is a way to access VB .net APIs using Python.

View 1 Replies

Python Use In VB .Net As Compared To Excel?

May 1, 2012

I have an interesting issue I've run into where I can easily tap into python code from VB in an excel instance, as described here: Calling python script from excel/vba.However, when I mimic the exact same code structure in visual studio in a form, the pyscript.language = "python" line fails. Does anyone know if MSScriptControl.ScriptControl can be used in VB .Net to control python like you can in excel? This would be a lot easier than setting up a com object for my python scripts.

Example code (need to add microsoft script control 1.0 and excel object library):

[code]...

View 1 Replies

Use AJAX With Aspx Backend?

Apr 5, 2011

I have to use VB.Net. Microsoft provides black magic tools (in the Visual Studio IDE) for making AJAX work, but using these seems hopelessly complicated and documentation for these tools covers only the simplest examples. By contrast, writing the scripts myself seems much easier, and I will understand what is going on.

So my question is, is it possible to write my own AJAX javascript (creating the XMLHttpRequest object, etc.), and have the server-side function be written in VB.Net instead of PHP?

View 1 Replies

Can't Send Cookies From Page To Php Backend

May 16, 2011

I'm trying to create a proxy for cross-domain AJAX POST queries and, in order to do that, I need to be adding the cookies from my client (browser)'s request into the POST request I send to the PHP backend, which is using HttpWebRequest. In order to do this, I'm adding each of the Request.Cookie into the HttpWebRequest.CookieContainer object. For some reason, none of the cookies I add to it ever get to my PHP backend.

I understand from some searches that the CookieContainer object is URI-dependent (I'm not sure how to even explain it!), so perhaps that's the cause of my issues. However, I've tried setting the domain on my cookie to different things and it doesn't seem to affect it. So maybe URI means something different than the Cookie's Domain parameter. If that's the case, I'm stuck.

[Code]...

View 2 Replies

Connection String For Teradata Backend

Jan 11, 2011

I'm really struggling here - I'm trying to create a connection string to my TD backend and this is not working unless I create a data source in the project and enter my username & password. (to be stored in the config file?) I just want a simple connection string that will allow me to perform updates - furthermore i would like it to prompt the user for a password initially. I keep receiving the error:"No error message available, result code: DB_E_ERRORSOCCURRED(0x80040E21)" [code]

View 6 Replies

Converting Python Regex To VisualBasic?

Jun 7, 2011

I'm converting a python application to VB.net

a = 'abcdef'
b = re.compile('[' + a + ']{3,}$', re.I)

Is it possible to convert it to Visual Basic, if so, can you provide any code?

View 1 Replies

Create A Matrix Through An Iteration In Python?

Jul 18, 2011

I want to create a (3n*7) Matrix in python through Iteration, I did this in VB.Net and it worked but it gives me some challenge in Python as this a new language to me. n can be the number of Iterations to build up the matrix, i.e. ; if u iterated 3 times, the matrix will be a 9*7 matrix. Here is how I did it in VB.Net. :

[Code].....

View 3 Replies

Create The .exe Of .net Project With Sql Server In Backend?

Aug 11, 2011

i was create the .exe of vb.net project with sql server in backend. when i install it any other computer that time it is not connect to the data base. whta i do for that.

View 1 Replies

How To Set Option Button Values Via Python

Feb 24, 2011

I'm writing a python plugin for a geo referencing program called QGIS where I want an Excel sheet to do all my calculations for me. For different data points I need to set certain input values into the spreadsheet (which was already written by someone else). I'm fine setting the int values (using win32com.client) with
sheet.Cells(row, col).Value = value

For radio buttons I would expect it to work like so:
sheet.opt_name.Value = True

But I get the error message:
AttributeError: '<win32com.gen_py.Microsoft Excel 12.0 Object Library._Worksheet instance at 0x232878608>' object has no attribute 'opt_name'
What are the options attributes of? How do I set their values?

View 1 Replies

Make It In Vb Langugae N Its Backend In MySQL?

Jul 13, 2011

m a final year bsc.IT student.i need your help can u suggest me some topics for my project.

i want to make it in vb langugae n its backend in MySQL

but m not finding any suitable topic.

View 2 Replies

Ms Access - One In Fetching A Data From Backend In .net?

Nov 20, 2010

i have two item in form it is---1 is textbox and 2nd is combo box.now i have single value in textbox but there is a multiple value for a combobox with is totally depend on a value of textbox.*i am already add data to the backend files ... in which 1 columns that is called column A it's value is for textbox and 2 column that is called column B it's value for combo box When i write in textbox it's dependent ALL value can be get in the combo box.Can any one solve my problem..

View 1 Replies

Python - Dynamically Import Classes In VB?

May 3, 2012

I'm working on a school project which need to be done in Visual Basic. For this I'm porting one of my Python project in this programming language, project which (in Python) is scanning a directory for .py files and then imports them (dynamically) with the __import__ statement, at runtime. It is possible to do this in Visual Basic with .DLL classes?

View 1 Replies

Python - VB Developer Wants To Write Linux App?

Apr 17, 2012

I am trying to choose a language, IDE and other tools in order to develop a photo gallery application for a Linux platform. Specifically the Raspberry Pi My background is almost exclusively using Visual basic since the early 90's and most recently VB.NET in VS2008

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved