Add News To My Form?
Sep 6, 2009How can i add the news to my form [code]...
View 3 RepliesHow can i add the news to my form [code]...
View 3 Repliesif it is possible to fetch a bit text maybe an image into like a label from my web server. So like a news feed which i can update form my website that will link to all the installed applications.... (Visual Basic 2008 Express Edition).
View 3 RepliesPlease critic the code if you can and show better/faster/easier ways of achieving something within it.Alright, well what I'm trying to do is use XML to supply a news feed to a Launcher..So they can see whats changed and etc. So I started looking around as this is my first time toying with XML in VB.Net, and I found:[code]
View 2 RepliesCurrently I'm getting news data from an XML file the user data from another etc Was thinking about have a file such as
<ApplicationData>
<News>
<NewsItem>aaaa<NewsItem>
<NewsItem>bbbb<NewsItem>
<NewsItem>cccc<NewsItem>
<NewsItem>dddd<NewsItem>
[Code] .....
I have the publish_stream extended permission for a Facebook app, how do I publish to a user's news stream without prompting them with the dialog? I have the permission so I should be able to do it programatically, yes?I am using the Facebook C# SDK.
View 1 RepliesI've been trying several methods to simulate a scrolling news ticker on an application. There is a lot of activity within the program, so I need to keep the ticker on a seperate thread.I have made a timer which when a tick is hit (in this case, every 100ms), executes a sub which removes one character from a label to simulate the ticker. This works quite well, although when the program does something else the ticker freezes up momentarily. I am wondering if someone could give me some advice on the best way to eliminate these freeze ups? How could I execute a new thread every 100ms to move the ticker? I was thinking of somehow using a threadpool for each time the a tick is hit on the timer, but I'm not sure how, or even if this can be accomplished.
View 10 RepliesI want to add some simple "news" messages to my app,and I'm looking for a good way to do it,of course not to recreate the wheel. My app connect to a ftp server and check if a new message exists,if one new is found display that to user.I don't know if it is a good way : I'll keep messages on the ftp on a txt files named with created date.My domain has "create postgres or mysql" database option,should I keep messages there ? Wich way is better to display messages :messagesbox or another control ?
View 8 RepliesIm Using VB 2008. I have MsgBox() statements in all Mouse & Form Click events to TEST & NOTHING FIRES during Form Load when I click on Form or Button Controls !!! The Form Load event contains code for Displaying the Label.Text control many times with changes in the Text to simmulate annimation.
[Code]...
The following code does create a form within a form and does place NotePad inside the child form. You have to manually start NotePad prior to execution (I work on that later) but the code does workŠ My problem is now I want to manipulate the properties of notepad i.e. focus, size, location, etc. but I cannot figure out how to reference notepad and its properties.
[Code]...
get a button on form A to open form B and then close (not hide) form A when clicked?Background: I am coding a VSTO application for Excel in VB2008.
Private Sub FormAButton_Click(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles FormAButton.Click
Dim FormB As New FormB
[code]....
I have a form being called form several forms using ShowDialog().
1. Is there a way for called form to know which form called it by receiving a code or key from the calling form?
2. The calling form has a gridview. How can the called form pick up a column's value from the currently highlighted row in gridview in the calling form?
i have my main child form open. then i show the new form:
[Code]...
but when the form opens it flickers a lot. so i want move the new form behind the main form while it loads so the user does not see the flicker. once it is done loading i will set the form to topmost. how do i move the new form behind the main form?
I have a tool window that I want to stay above the main application form, but not stay on top of all windows forms. Similar to the floating properties window for visual studio - it always stays on top of the main VS window, but if I select another program, like internet explorer, the floating properties window will be behind internet explorer.
What I have is an application that has several forms that may be displayed at the same time. I have a Messages form that displays messages generated by the code in the form, that gives the status of the application. Obviously, the user would not normally be working on this form, but they may want it to be visible to see the status messages from the program (File saved confirmations, etc). So, my two options right now are I can set the form to be on top of all other windows forms or, when the user clicks on the main application form, the messages form would be hidden by the main form.
I designed a class contains a form that have buttons. When i click any button this function runs
Public Sub BtnClick(ByVal sender As Object, ByVal e As EventArgs)
result = CType(sender, Button).Text
[CODE]...
In another project I imported this class. I called the method that shows the form in my class. I need to store the 'result' variable in another variable in the new project. How can It be done.
how to pass value from one form into another form...? for example if i have 1 mdiform and 2 form (form1, and form2) for load form1 i'm using system.reflection.assembly here is the code for load form1 :
Imports System.Reflection
Private Asm As Assembly
Private FrmNama As Form
Public Function GetForm(ByVal FormName As String) As Form
[code]....
after form1 load i call form2 from form1 and from form2 i want pass value, here is the code from form2 to pass value into form1 :
form1.textbox1.text = textform2.text
why value from form2 can't fill into textbox1 in form1?
I'm new in .Net and I have an application with windows form "LOGIN" When users enter the user and password and click "ok", then if user passes validation then I have the code Show(MDIMainMenu) (I'm trying to open an mdi form), but I receive the following error: "Form that is already visible cannot be displayed as a modal dialog box. Set the form's visible property to false before calling Show. Error Number 5"
[Code]...
i want to be able to click anywhere there isn't a control on the form and be able to move the form to anywhere on the desktop...
the control box is off and the form text is blank, so there is nowhere on top of the form to click and move the form..
I have an issue when I place a label box in the MDI Parent form and then open a child form the label box highlighted in child form?
View 6 RepliesBelow is the exception code info. when I try to make form visible for the first time from another form then I get an exception code. something like 'a required variable not set'
Quote:
CODE:
I tried it every way I can think off, but nothing can stop it .
View 7 RepliesPublic Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Form2.PictureBox1.Load(bm2)
[CODE]...
So I'm trying to take a screen capture of the windows form and display only a certain specified area of that screen capture in a picturebox on a different form. Kind of like this. First, take the screen capture of the form: Then get a specified area of that form through x,y coordinates or something and display it on a picturebox on a separate form.
I have a DataGridView on a form that is being populated from a SQL table dataset by giving criteria from a previous form. I have 6 columns in the dataset, of which the last column should be combo box column containing items "Done" and "Pending". How do I make this bound column to a combo box column and display the value as well as the alternate item too in the combo box?
View 6 RepliesI have a main form with datagridview containing a list of contacts:
VB
Public Class Form1
Private Db As New DataClasses1DataContext
Private Sub Form1_Load
[Code]....
After saving, I get the correct message ("Saved"), and the DataGridView in the first form gets updated in real time.
But... when I take look at the data (or close and reopen the forms) the data in the database (SQL server) have not changed! What happens!
How do i load the Main form of a WPF so that a seperate thread goes and gets data from the database while the form is in an apartmentstate? (drag-able / movable) I Know this is possible with opening a new window from your main form like this :
Private Sub openOrderWindow()
Dim OrderWindow As Orders = New Orders
OrderWindow.ShowDialog()
End Sub
[code]....
I've tried putting MyBase.ShowDialog() and .Show() and .9000+ other things The only benefit I've got out of using a seperate thread to load from the databse is i can see the screen right away (as oppose to it being a transparent box until it loads) but i cannot move it around or minimize it?is there any way to make it Movable while it loads?
I have mdi application, on main form which is mdi container and has a tree view. i open the child form on afterselect even of treeview. the issue i'm facing that i open the form but focus remain on tree view until i click on the the form. my question is how i can give focus to form rather it stays on treeview. i tried frm.focus also activatemdichild(frm) no sucess.
View 21 Repliesi am asking about using the progress bar into the status bar to move when i load any child form inside the MDIParent form.
View 1 Repliesi have a main menu on my program which has the option of registering. I have enter name and password ..and a button Confirm
i want to be able to store the added username and pasword to the login form so that it will work...
what must i do? also where would this data be stored...
I need to detect shift + arrow key in blank form. But it's not working. I also tried overriding IsInputKey method but it only detects single key press (like arrow key) but when multiple key are pressed it simply doesn't work.
View 5 RepliesHere is the pertinent part of my code:
Public Class Form1
Inherits System.Windows.Forms.Form
Private Sub MenuItem3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
[code].....
I have a basic Windows form with one Crystal Reports form veiwer control on it. When ran on the development machine it displays the report fine.After build and publish the application is now installed on a user PC. I am getting an error that the Crystal Decisions. Windows. Form version 12.0.2000.0 can not be found. All the Crystal dll's are in the install directory but none of them are being installed in the install machines GAC.Am I setting my publish output up wrong, may references wrong, or is the local GAC files the problem. The message is so criptic, it doesnt really point me in the right direction.
View 1 Replies