Communicate Data Between The Page And Projekt?
Aug 22, 2011
i have a projekt with windows forms , and now i want to write a asp to use as ui. how do i communicate between the page and projekt.just insert the page in the projekt and use webdeveloper in stead of vb express ? and i can then use the class variables in the webpage referencing the class and its members?
View 2 Replies
ADVERTISEMENT
Dec 11, 2011
i dont know why , but a projekt i am working on gives the next build error making a new release. it worked whitout this problem a week ago.i dont know what went wrong. when i manually delete the file everything is fine again, until the next release.
Error 1 Cannot generate serialization assembly C:UsersjanDocumentsVisual Studio 2010inReleaseMyProjekt.XmlSerializers.dll because it already exists. Use /force to force an overwrite of the existing assembly. C:UsersjanDocumentsVisual Studio 2010
View 2 Replies
Oct 15, 2010
I will be using .Net to communicate with a small unit that outputs data via a serial port. I have used an application that monitors the data between an application and this little box. What I see is functions such as IRP_MJ_CREATE, IRP_MJ_READ, etc. At first I thought I needed to build functions and I would send these via the serial port (a novice thought) now I see that the above functions are part of the Windows Driver Kit. So is it true that I call these functions in my code and then the underlying drivers communicate to the serial port and the approppriate data is seen at the serial port. So for .Net (VB) I need to find and use the appropriate functions and communicate to the serial port.
View 1 Replies
May 21, 2009
how to communicate from visual studio to the swf. display information/ database data. i know from flash to vb is using fscommand but how about vb to flash ? and also database information to display on flash.
View 2 Replies
Aug 16, 2011
I need to post some xml data to a different aspx page and redirect to the same page.I tried the following code it does post to the page sucessfully but i need to redirect to the same page with posted data
[Code]...
View 2 Replies
Mar 13, 2009
I am creating a notes software. This is just a simple application that will show the data from the database which are Notes_Title, Due_Date, Priority. I display the data with datagridview. I also added a checkbox for each row to the datagridview to mark as check if the Notes_title is already done. In displaying the data, I need to display only a 5 data in a row.So, I create a another CLASS that will only show 5 rows per page. But the PROBLEM is, if I mark the checkbox as check in the first page then if I turn it to the next page the checkbox in the first page that mark as check will be uncheck if I turn it back to the first page. The mark check in the checkbox will mark as uncheck if I turn the page. How can I make it mark as check even if I turn the pages? And How can I save the data row as done if I check
[code]....
View 2 Replies
Oct 30, 2011
I have more than 30,000 rows in a table. It takes a lot of time to load all the data in the gridview. So I want to display 100 rows at a time. When I click next page button, another 100 rows should be displayed. When I click previous page button, previous 100 rows should be displayed. If I type page 5 in a text box, then I want to jump over to the 5th lot of rows.
I also want to display how many pages there will be. Can we implement this concept in vb.net [winform] gridview. I am using database PostgreSQL.
View 1 Replies
Feb 21, 2010
For some reason when the user click on the submit button and he re-fresh the page the same data get's uploaded again to my SQL Server 2005 database. I do not what this to happen... I am making use of a SQL Data Source!
My code
Try
'See if user typed the correct code.
If Me.txtSecurity.Text = Session("Captcha") Then
[Code].....
View 2 Replies
Jul 21, 2010
I have written one application which communicate with one data logger unit (temperature monitoring unit) and download records after some interval. Unit continuously send current temperature which I have to show on screen and after each one hour I have to download log (all records saved inside unit at max 1024) from unit.
Now problem is after downloading log, application get hang or what we called working in background and resume after some time. If I pause debugger in visual studio 2008 it show control at application start (sub main) with message as "application will resume here after completing execution of current function". There is nothing in output window. So how can i trace is there any events got spool or what actually application doing in background.
View 1 Replies
Nov 5, 2010
I have two WPF pages open, and I want to send "textbox3.text" from Page2 to "textbox1.text" in Page1
in vb that's easy: page1.textbox1.text = texbox3.text
but I cant find out how to do that in WPF
View 2 Replies
Jun 24, 2010
how send data from one page to another page in VB.NET of window form application?
View 6 Replies
Jun 2, 2010
What I am trying tot achieve is the following:User inputs data in one form that saves to the dataset table no problems. On an edit screen I want the current data saved to appear in this page within all the relevant fields but when saving I want this data to add to the dataset table as an additional line of data so the transaction records are kept.I want to add a new datarow regardless of it saving one change or all 7 changes that are possble.
e.g. Line 1 - user inputs 7 cells of data Line 2 - user amends 2 cells of data Line 3 - user amends 1 cell of data an so on. Unfortunately the terminology for certain items above may not be correct as I am still new to this programming and still on a massive learning curve.At the moment I do not have the code for what I am trying to achieve as I really dont know where to start with it.I am currently able to save the data and have it appear in the "edit" panel however only the cells changed are saved an it overwirtes the initial input.
[code]...
View 2 Replies
Jun 12, 2011
I have a text input in textbox1 in tab page 1 and i want that text from textbox1 will be displayed in textbox2 in tab page 2.
View 3 Replies
Oct 5, 2010
I wrote a page Page method in my aspx page. in web service method I need to call FindControl method return textbox and get text box value. But my findControl will take MasterPage object to iterate.
see my code
<script type = "text/javascript">
function ShowCurrentDateTime() {
$.ajax({
[Code]....
How to pass Master Page object or Page to Page method?. So I can use in Sared method.
Is there any way I can access Textbox value directly in Page method? I need access couple of controls in Page Method.
View 3 Replies
Nov 4, 2010
HOW TO RUN THE JAVASCRIPT FUNCTION ON PAGE ONLOAD EVENT IN CONTENT PAGE OF MASTER PAGE.? means i have masterpage and the content page of master page namely default.aspx in vb.net.i wanna run javascript function in Default.aspx and i have called the function body onload in master page.when i run my website it shows the error "" Microsoft JScript Runtime Error : Object Expected ""
View 4 Replies
May 17, 2012
I need sample vb.net code to save single windows form as many page and reload the page whenever i call that page...
View 1 Replies
Jun 13, 2011
How can I get Webbrowser1 to navigate to each page and wait for the one page to completely load, then move to the next page...? [code]
View 3 Replies
Aug 7, 2009
I have a master page which contains everything that inherits it within a form. A page inheriting from it needs to run some javascript to act on a text field on a page. However, I can't seem to reference that text field through the javascript, since the form begins on the master page. The following line will come up bogus: document.form1.txtFindUser.value = blah.responseText; This is because form1 is defined on the master page, while txtFindUser is on the current page.
View 3 Replies
Feb 2, 2010
i am new to this. i have 4 pages. login.aspx, account.aspx, settings.aspx and fliers.aspx.
its all programmed in vb.net with sql server backend.on my firstr page, login.aspx i have this code in the .vb page -
Dim SQL As String = "SELECT * FROM table1 WHERE email='" + Me.txtUserName.Text + "' AND password='" + Me.txtPassword.Text + "' "
ExecuteNonQuery(SQL)
[code]...
View 3 Replies
Jul 3, 2006
Does anyone know why a Page_Load would be called twice on a page when requesting an aspx page?I am using .Net 2.0 with the new .net 1.1 compilation model installed. Whenever I request a page, the Page_Load on the aspx page appears to be called twice, so does the Page_Load on and user controls added to that page.
View 16 Replies
May 31, 2012
I wish to communicate over usb in vb.net i realize i might need to use openfile windows api or createfile windows api but im doing a generic mouse driver which should be miles simpler to do since microsoft and usb.org already have the report descriptors available so all i want to do is just send data to the device directly using my program.
[Code]...
View 7 Replies
Mar 15, 2010
I'm working on a little app which needs to recieve information from a script on a web server. I tried to have the vb.net app pole a php web page for a command every half of a second. This worked but, the app is streaming video and every time the app needs to pole the webpage the video stutter stops. I tried setting the pole timer to 5 seconds and still every 5 seconds the video stutters. I thought that maybe sockets would be the answer, so I looked for examples of vb.net socket servers and php socket clients. I tried implementing a solution but the php cannot seem to connect to the vb.net server. I googled around and saw that maybe php cannot communicate with a vb.net application.
View 1 Replies
May 7, 2012
i have a gridview with something like 10 columns...but i only show 4 of them.... in wich reads from a sqldatasource and fill the gridview, put some delete and edit commands..then i add column which is a hyperlinkfield and then when i create a new aspx and name him UserProfile...and add some labels.The main objective is find a way to use the data from the gridview and fill the userProfile in a new page...this is the admin.ascx that have the gridview....
<asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False" DataSourceID="MyDataSource1" Height="24px" Width="871px" AllowSorting="True" DataKeyNames="id_candidato" CellPadding="4" EnableTheming="True" ForeColor="#7FC514" GridLines="None" BackColor="#99FF66" BorderColor="#003300" BorderStyle="Ridge"
[code]....
View 4 Replies
Jan 11, 2010
I create a datatable. I want to use the datatable in every Sub of my Page. The table schould not lose the date.So I define the datatable as Shared variable.Now I have a Problem. The table for User 1 and User 2,3.... are the same. That means, when user1 add a row, user 2 see the row too.
View 5 Replies
May 11, 2011
The thing is i have a Master page and a Content Page. I have a LoadComplete in Content Page and a PreRender in Master Page. The problem is one of my htmlcontrols on content page i change on the LoadComplete event server side of the content page. I also have some code for disabling controls on the Master Page PreRender event. For some reason all controls on the aspx side go through the Master Page prerender except the ones that i change on the LoadComplete side. How can i make sure the entire content page loads and then the Master Page PreRender event is called, making all the controls go through that event.
View 1 Replies
Apr 10, 2010
If I control both applications, what is the best way to communicate between 2 exe's written in VB.Net. For example, I want to drop an XML file from one app, and pick it up with the other, but I do not want poll for the file. I've heard of named pipes, but I found it was complicated. What's the most effecient way to do this?
View 4 Replies
Jan 14, 2010
I'd like to know what the best way to communicate between two applications via a LAN would be? ..and would it work over multiple versions of Windows (XP, Vista, NT etc..)?
I am setup with Visual Basic Express 2008.
View 1 Replies
Jul 9, 2010
I am a novice with programming and really need to get a device communicate with PC through COM3.
how to send and receive data via COM3 in VB.
View 2 Replies
May 12, 2011
I have a Digi Modem connect to a device. How could I sent the code through the IP address what the Modem create to get communicate with my device? how to defined the IP, 2) make the communication 3) sent the code?
View 4 Replies
Mar 4, 2009
I am trying to send and receive packets over the LAN (i.e. NIC port) using VB.NET. I found some code that uses Socket wrench, but problem with such solutions is that users will need to install extra drivers and all which I do not want. I am looking to use drivers native to the .NET environment to send and receive packets through the LAN port. My windows forms application is in VB.NETneil
View 1 Replies