.net - Silverlight - Sending Variables Between The Frame?

Dec 27, 2009

I have one main page in my Silverlight project. I have two frame inside this page. The one called Contents and the other called Footer. What I wonder is, how can I change the variables in the content in the Content of whether that's a click event in the Footer?

[Code]...

The program I write is in VB.NET. But examples can with c# are also accepted.

View 3 Replies


ADVERTISEMENT

VS 2008 Sending Variables To Statusbar?

Apr 15, 2009

I am creating 2 forms (btw these is test script just to learn and understand it.) 1 form is where the info comes from like the Username and other stuff the second form is where the data will be shown.. i got it to transfer the data to second form but what im having problem with is well more of a question is how can i send the variable to a statusbar?

View 5 Replies

Access A Specific Frame And Put The Frame Into A Bitmap

May 20, 2012

[Code]...

I can access a specific frame and put the frame into a bitmap so that I can process the bitmap.

View 4 Replies

Port WinForms To Silverlight 2 Or Silverlight 3

Mar 19, 2009

I have a LOB app written in VB.NET with a WinForms front-end and SQL back-end. After many months weighing up how to get onto the Web, I decided last month to use Silverlight 2. Now, Silverlight 3 Beta is out, but there is no end-user runtime.

Does anyone know when the runtime will be available for deployment of SL 3 apps onto client sites?
My dev timeline is about 3 months: should I persist with SL 2 and then u/g to SL3, or jump straight in to SL3?

View 5 Replies

Copy Frame Function - How Does It Copy The Frame?

Oct 30, 2009

how does this function works. How does it copy the frame? HDC BiBlt???

ublic Function copyFrame(ByVal src As PictureBox, ByVal rect As RectangleF) As Bitmap
If isRunning Then
Dim srcPic As Graphics = src.CreateGraphics[code].....

the above function is called from the below command which is in a timer event. mycam is a class including the copy frame function.

bm2 = myCam.copyFrame(PictureBox1, New RectangleF(0, 0, PictureBox1.Width, PictureBox1.Height))

View 1 Replies

Sending Email - Operation Timed Out / Not Sending Error

May 27, 2012

I am trying to Send an Email with an attachment (using Gmail) but I keep getting errors like "Operation Timed out" or Failure Sending Email". It was working earlier today but I found out that i needed to add Using statement because the email was having a file open that had to be deleted after it was sent but afterwards it doesn't work.

Here's what I have (Portion of it):
Private Sub SendMailOneAttachment(ByVal un As String, ByVal pass As String, Optional ByVal smtp As String = "smtp.gmail.com")
Using oAttach As Net.Mail.Attachment = New Net.Mail.Attachment((Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) & "\" & My.Computer.Name & "_" & fName & " .zip"))
Dim client As SmtpClient = New SmtpClient(smtp)
[Code] .....

The ports are correct I believe, no firewall up on my PC...

View 1 Replies

Sending Files/Sending Images/Msg For P2P Chat?

Mar 4, 2010

Which is better for Sending Files/Sending Images/Msg for P2P Chat?

View 1 Replies

VS 2008 - Take A String Of Variables With A Common Delimiter And Break It All Back Out Into Separate Variables

Dec 11, 2011

Last year (2010) I came across a FANTASTIC command that allowed me to take a string of variables with a common delimiter and break it all back out into separate variables (possibly an array) with one statement.

[Code]...

As long as the delimiter was a unique specifiable character, this one-statement command could break it out into elements. my memory and point me in the right direction.

View 2 Replies

Passing Multiple Byref Variables / Variables Fail To Change Calling Funct W/ Invoke

Sep 27, 2010

I have code, shown below, that works all except for 1 thing: The variables being passed byRef get passed, but once modified in the else section of the "if me.invokerequired" code of RecordData, the variables are never updated in the calling function. To reiterate, the calling function does not receive the updated data that is in the variables custid and amt.When debugging, I see the data change in the else section of "if me.invokerequired", but once it returns from the callback the data is missing.[code]

View 15 Replies

Define Some Global Variables Of A Class - Variables Occupy Memory?

Mar 23, 2012

I define some global variables of a class as follows:

Private Class MyClass
Private var1 as Decimal
Private list1 as List(Of string)[code].....

But I found that after this form is closed, all above variables, var1, list1, list2 still exist in memory. I thought they should be collected by gc since the form is already disposed as I confirmed.

Add: I have monitored half an hour after the form is closed. But these variables are not collected by gc. I have an automatic update procedure on the form which uses above variables.Since the above variables still hold values, the automatic update procedure is always called which causes exception. (One quick fix is to check if form.isDisposed in update procedure. But I do not think this is elegeant. Besides, these variables occupy memory.)

View 2 Replies

Memory Used In Declaring Variables Are Reclaimed By The OS When These Variables Go Out Of Scope?

Jan 7, 2010

Does the memory used in declaring variables are reclaimed by the OS when these variables go out of scope?Does the memory used be released by setting thier value to nothing? if not, then how can I force the garbage collector to run or excecute at a certain/desired time..How about in Windows Forms..How can we make sure that the memory used in initializing and showing forms be released if those forms were closed?

View 13 Replies

Multithreading: Reading/setting Variables, And Passing Variables?

Mar 8, 2011

Question 1: What is the difference between "Background Worker" and "Worker Pool" as indicated within the MSDN samples provided.

Question 2: I noticed while using, AddressOf _Function_, variables cannot be passed; what would be an efficient solution to this?

Question 3: While using multithreading is it required to invoke before setting variables, or only form properties?

Question 4: While using System.Net.Sockets is it safe/efficient to use Application.DoEvents while waiting for new data; or would be using a Do While loop be fine without DoEvents since the action would be multithreaded? Note: there can be up to 2000-3000 sockets in use at a time.

View 10 Replies

Use Variables Or Properties, And Global Or Static Variables In A Class?

Jun 9, 2012

I'm new in .NET programming.I have a class Form1 that includes Button1_Click event.Button1_Click creates a multiple Text Boxies at run time)Here is the class:

Public Class Form1
Dim shiftDown As Integer
Dim counter As Integer

[code].....

View 3 Replies

How To Capture A Frame From A DVD

Aug 1, 2010

I have a personal project to complete and one of the smaller aspects is to capture about 10-20 seconds of video or a screenshot (bitmap,jpg, etc)from a DVD. This is made even more complicated by the fact that the video files may be .VOB, .AVI or .MPG and using numerous codecs (DivX, Xvid, etc).

I have searched on google and the tutorials here, but nothing seems to fit.

Does anyone have some "simple" references, URL's, blogs, code examples that would help with my quest? (My policy is not the KISS principal, but the KISFSP ... "Keep It Simple For Stupid People")

View 4 Replies

Move A Frame Into Another .net?

May 14, 2010

How can I Move a frame into another using vb.net?e.g.I have these two files

Frame.vb
NewFrame.vb

within Frame.vb on the load code i want to move NewFrame in to Frame.also if i put a button in Frame.vb on that clicks button event i also want to move NewFrame.vb in to Frame.

View 6 Replies

Sending E-mail - Getting Error Message "5 Failure sending Mail At System?

Jul 13, 2010

I am tring to send e-mail used VB 2008. Below is my code. The error message I am getting is "5 Failure sending mail at System.Net.mail.client.send(MailMessage message).I have two questions. 1.) What am I doing wrong? & 2.) Is there a way the get a more description error message.

message As
New System.Net.Mail.MailMessage
Dim mySmtpsvr[code].....

View 2 Replies

Access The Html Within A Frame Using IE?

Nov 29, 2007

I am writing code to automate internet explorer. I have successfully done it for a few sites, essentially I need to be able to access the html, and elements such as input boxes to automatically fill out forms, and pull back the results. But for the current project the website has a framset and frames, I was wondering if there is a way to get access to the html and elements within the frame.

I am using Interop.SHDocVw to control internet explorer. I have been trying some code similar to the following, but after I get the frame I need and the documentElement off of it, I can't get the actual html inside the frame. I can get the outer page/framset html, but whenever I try to get inside the frame is comes up as Nothing. I was thinking it may have to do with IE frame security

[Code]...

View 10 Replies

Change The Frame Per Second Of A Swf Movie In Vb?

Dec 26, 2009

how to change the frame per second of a swf movie in vb?

i have a text box for user to input their fps but now i don't know how to set the fps of the swf movie in vb..

AxShockwaveFlash1.fps = 10

View 1 Replies

How To Put Webpage Inside Frame

Dec 21, 2010

I would like to know how to put a webpage inside a frame on Visual Basic 2010.

View 2 Replies

Is The Dot Net Frame 2.0 Compatible To Vista OS

Apr 21, 2009

is the dot net frame work 2.0 compatible to vista OS? if not may i know wht dot net frame work will compatible to vista?

View 5 Replies

Minimize The Child Frame?

Feb 4, 2011

I develop a MDI application. I design the parent form and some child form.On the left side of the parent form i add the Pannel. When i iopen child form and minimize it , it minimize behind the pannel . I set the property TOPMOSt to true But same problem is there, How i fix it? Please also guide me what i write code if any child active the parent form tell the user close the active child(Name of the form show in message) ?

View 1 Replies

VS 2010 Get InnerHTML Of Frame?

Jul 24, 2010

I have the web code below, and im trying to get the inner HTML of the frame called pp_nav, any ideas?

<frameset noresize="noresize" framespacing="0" border="0" frameborder="0" marginheight="0" marginwidth="0" rows="197, *">
<frame noresize="true" border="0" frameborder="no" marginheight="0" marginwidth="0" scrolling="no" name="pp_nav" src="http://www.mysite.com/canvas/view_navigation.html?username=crunk-atl&active_page=canvas" />

[Code]...

View 10 Replies

VS 2010 How To Add A Custom Frame

Feb 9, 2012

i dont know exactly what you call it. but the frame that gos around the form. i wanted to know if some one could show me how to add a custom one?

View 1 Replies

How To Access An Element Inside Of A Web Frame

Dec 21, 2009

[code] the part way at the end where it uses .elements(mySearchInput).Value = "bob" I get a compile error it says object variable not set? my guess is this text box is inside a frame called "mainframe" so how would I access an element inside of a web frame? it works fine on another site without frames?

View 1 Replies

.Net Frame Work Initialization Error

Jul 20, 2009

When I want to run several programs out of visual studio IDE the program couldn't be run and this message appear for me and say ("Unable to find a version of the runtime to to run this application")I am using visual studio 2005 .net My program is made by basic language.What am i do to fix this error??

View 2 Replies

Access To Document Object In Frame?

Aug 5, 2011

Access to document object in frame

-There are 2 frames , frame1 and frame2 , in my web page. I want to gain access to the document object of frame1 using vb and web browser. How can I write straight forward codes to do this?

View 1 Replies

Asp.net - Populate A User Control From A Containing Frame?

Jan 21, 2010

I have a troubling task. I have a page contained within an outer frame, on the outer frame is a user control which i need to populate with some data from within the containing page. The problem is the outer frame is rendered before i can get hold of the required data.

View 2 Replies

Change Frame Size On Shockwave?

Oct 12, 2009

how to change the aspect ratio of the frame size on shockwave. I have tried to use the property but it's not there. In which methods of the properties that I can control the frame size on flash?

View 4 Replies

Change The Color Of A Form's Frame?

Nov 6, 2011

I changed the background of a form, but it looks bad with the bluish frame of the form, is there any way to change it?

View 2 Replies

Create A Frame After An Image Is Uploaded?

Jun 11, 2010

i would like to create a fixed size frame for user photos uploaded.
I've tought: i, can create a fixed sized image (200 width x 600 height for example), with my personal frame (top, left, bottom, right element graphics) , and in the center a transparency.

Ok, but i don't know how to merge the photo into the frame and save the new photo format.

View 1 Replies







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