Communication Between Flash And .net?
Aug 27, 2009communication between Flash and vb.net?
View 1 Repliescommunication between Flash and vb.net?
View 1 RepliesGood day all,A Flash movie that plays fine when opened in a web browser is playing slowly and choppily in my VB 2005 WinForm application on the same machine.
View 7 RepliesHi, I'm just beginning to teach myself how to do OOP in VB 2008 Express. I have a quick question after seeing a video online.Is a VB variable the equivalent of an 'instance' in Flash and a VB object like a 'symbol' in Flash? Is this what it means by a variable being a reference or pointer to an object and not the object itself?
View 5 Replieswhy is it i need to click the shockwave flash player/flash/.swf before it will exectue.
here's my code for shockwave flash player
Handles AxShockwaveFlash1.Enter
AxShockwaveFlash1.Play()
AxShockwaveFlash1.Movie = "C:UserscompnameDesktopflash1.swf"
Me.AxShockwaveFlash1.BGColor = Me.BackColor.R.ToString("X2") & Me.BackColor.G.ToString("X2") & Me.BackColor.B.ToString("X2")
why is it i need to click the shockwave flash player/flash/.swf before it will execute.here's my code for shockwave flash player
Handles AxShockwaveFlash1.Enter
AxShockwaveFlash1.Play()
AxShockwaveFlash1.Movie = "C:UserscompnameDesktopflash1.swf"
Me.AxShockwaveFlash1.BGColor = Me.BackColor.R.ToString("X2") & Me.BackColor.G.ToString("X2") & Me.BackColor.B.ToString("X2")
Well I have a Flash Movie loaded in the Flash Control, And I need to reload it. (So the new base url is used) How do I do this?
View 1 RepliesI need to modify a button so that I can add a flash property which will flash the backcolor red.Along the lines of RedLightButton.Flash = true.I have the following
Public Class RedLightButton
Inherits Button
Private WithEvents FlashTimer As New Timer
Private isFlashing As Boolean = False
Public Sub New(ByVal ButtonText As String)
[Code]...
When I right click on the component area, a contextmenu appears.I want to disable this OR remove "Settings" and "About Adobe Flash Player..".I searched the internet for a solution,but almost all the suggestions were about the Visual Basic 6. Anyone knows how to correct this in Visual basic 2008 ? (And sorry for my English if there is a mistake )
View 1 Replies[Code]...
What kind of objects should BLL and DAL use for communication - DataTable or List<Customer> (for example)? In first case, BLL logic should transform Customer object to DataTable and send it to DAL. In secod case, DAL layer should be aware of Customer class, which is in BLL layer. But originaly DLL references DAL and not opposite...
Should I put all classes into seperate assembly, which is referenced by all others (Common, BusinessObjects, ...)? In this case I could use Customer class in all my projects. Should I even bother to seperate DAL and BLL when I know, that only one BLL will use my DAL. In this case I could merge them together into one project. PS - I am reading about DataTables and a lot of people say that we shouldn't use them at all. What are better options? Maybe it is time for me to learn some ORM mapping tools :)
There is some one who know how to do a connection to the server with using vb.net?
View 1 RepliesI have 2 projects (P1 and P2) in a VB2008 solution, with each project compiled to a separate EXE.P2.exe is started via a button on P1 and while P2 runs, certain aspects of P1 are disabled. When P2 closes, P1 needs to reactivate those disabled aspects.Question: How do I communicate with P1 from P2, seeing that they are 2 separate EXE files, even though part of the same solution?
View 2 RepliesI wanna make an application in which i have to make two computers communicate each other. For example when a customer enters, his information is feeded in the computer at reception, and then this information is sent to another computer at upper storey, where the application detects the incoming data and populates in the relevant form.
View 2 RepliesIs it possible to read out the contents of a page that has already be loaded into a webbrowser...say IExplorer...? On 'normal' windows programs there is a way to externally control a program and its contents. But on a page loaded in a webbrowser i can't find a way to get external control of its contents and buttons ect...So to put it simple:I have Iexplorer up and running showing me some content.Now i want to run another program that can read out that content in IExplorer, and lateron put some 'updated' content back.
View 2 RepliesIs there a best practice way to communicate between a service and a GUI? Both will be created by myself so I'm not wanting to communicate to a service which belongs to someone else.
View 4 RepliesI;m making an application (who ins't xD), anyways, I'm using some encapsulation objects to transport stuff to the BLL. i was wondering (and might be sound stupid, I know) what you guys think is better practice:Either use Objects for transporting lots of stuff (like a BLL object to transport all its attributes) Or-handle around Strings through the GUI and only create objects when strictly needed.
Another question that just popped my mind: I'm using a Validation class in the BLL in order to validate stuff like "This particular object is already mapped, error" or "This is not well formed", and throw exceptions, instead of boolean values, since I'm at BLL level. Do you guys use a Validation class or perform the validation from the object itself? The old "who's responsible" problem.
I am using serial port class from VB.net to communicate my hardware. Some times I may lost or get incorrect data. I am just wondering how to implement hardware flow control in Vb.net
View 1 RepliesImports System.Threading
Imports System.IO
Imports System.Text
Imports System.IO.Ports
[code]....
in my code,im inputting a byte coming from Arduino board microncontroller..im sending character 'N' to com5, and the code above is fetching that data from arduino board..my problem is the output string on the textbox is <78> which is the ASCII equivalent of 'N' how will i convert that to what is really being sent by the board which is 'N'..
I made a device (it's a remote-control your computer thing). Is it possible to interact with it using USB & VB.NET? If so, how? I've looked around and it doesn't seem to be part of the framework, but maybe there's some API I could use? I could always use serial ports, but I don't really want this device to require a battery. Is it possible, and if not, is there another way I could do this?
View 16 RepliesI am currently using the code from this thread:Click Here Using the code how would i allow the user through the client to send a message to the server which specifies the user the message is intended for as well as the message. I know how to send messages as there is a function for that in the code supplied in the link.Though how do i associate usernames with each client? As i saw a username property has been created in the code but how do i use it for the purposes i want?
I also need to be able to test the username and password fields for a login system..
i'm creating a windows form to send/receive data to/from serial port.At first : i send the data as string to the serial port .Second: i tried to read the string again for test the successfull transmission , but i recieved empty string
[Code]...
i built a web based task manager / scheduler using vb.net
i need to add a small communication part to it to allow users to send messages to each other.
below is my concept design. the question is: is this the correct way of building a simple communicator or do you have better
Looking for serial port communication using ASP.NET 4.0. I have a cardwriter/reader from IDTECH which talks through a comport. Is there any way to accomplish with .net through the web.
I read things but most of the topics on speaking about .net 2.0 and I was not sure if they created something to handle this in .net 4.0
I made some code in vb.net which checks if a certain process is running, and returns a 1 if it is, or a 0 if it isn't. Now I want it to send a packet to my server or something which would log the IP of the client, or something similar.
View 1 RepliesHere my problem is that i wants to write a web application in vb.net which receive the request from android application for login purpuse in xml format and after create a xml format responce, which receive by android application.
View 2 RepliesI am new for dotnet. i need to implement one concept that is i am developing one desktop application that is act as server and create one website. so client give a request from website to my desktop application. the server get the request and perform some task and then response to client. how to implement this concept. whether i use Http Listener or any other concept available in dotnet. url...
View 1 RepliesI have a device that communicates with the pc via a serial to usb cable. So I have made windows form with a serial communication to speak with it. The communication is every 125ms so every time it checks if the com port is open and sends the new message. The problem is that if the usb is not connected the program tries every 125 ms to connect to the serial port and the busy cursor appears always and the form is not responding to any action (for example enter into the menu or refresh a listbox). I have tried multiple times to connect and disconnect the usb while the program is running. That's mean that the serial connection stopped and started all over again several time. The problem is that occasionally it shows an error "unable to open com port".
View 10 RepliesWhat is the best way of communicating with Serial ports and TCP/IP communcation using vb.net?Using visual studio .net can we make it easier?? Can anyone send me sample application of communications?If I write a program communicating with my hardware using Searial port or TCP/IP, will the program be slow?? Are there any programming techniques working with communication ports?
View 1 RepliesIs it possible to read out the contents of a page that has already be loaded into a webbrowser...say IExplorer...? On 'normal' windows programs there is a way to externally control a program and its contents. But on a page loaded in a webbrowser i can't find a way to get external control of its contents and buttons ect..
View 1 RepliesIm doing a little program (.net2) that need to get info from a server.For starters I just want the Client-program to send a "Hi" and receive a"Ok" from server when client-program is started.
View 4 RepliesI would like to create a Windows Service that uses settings that are set from a GUI application, such as a Windows Forms application. I have seen this type of feature in programs that allow you to set options like "Run as service" within a Forms application, surely there must be a way. I have only came up with a rather primitive way of going about it, which is, to have a GUI create a text file with a predefined format that the Windows Service recognizes and at a predefined directory. And then have the Windows Service just read from that predefined directory with a predefined file name. But, this seems rather cumbersome.
View 2 Replies