Add Hyperlink On A Windows Form?
Mar 3, 2011I'm looking for how to add a hyperlink to a form and then update or change that same object that contains the link when an event is raised
View 2 RepliesI'm looking for how to add a hyperlink to a form and then update or change that same object that contains the link when an event is raised
View 2 RepliesI'm trying to access an SSRS url in my app via backgroundworker. I've managed to generate events via the backgroundworker when my app starts. But how do I go to an url without Internet Explorer or any other browser starting up? I want to prime the ssrs server on the start of my application so the first report that is generated with it isn't slow.
View 6 RepliesI am trying to hide Hyperlink visibility in Repeater if there isn't any Text value in Hyperlink. Something like this:
Protected Sub rptReferenca_ItemDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.RepeaterItemEventArgs) Handles rptReferenca.ItemDataBound
Dim lnkThumb As HyperLink = CType(rptReferenca.FindControl("lnkThumb"), HyperLink)
[Code].....
As a follow up to my previous question Putting together a tricky SQL query
since I now have the records returned as URL format, how can I display those as hyperlinks in my gridview? (this is how the client wants it done, not much I can say to change their mind)
My vb code is:
Dim pds As PagedDataSource = New PagedDataSource()
GridView1.DataSource = pds
GridView1.DataBind()
I had created a windows forms application in vb.net. It contained several windows. Now the users of that application are telling me to display all in one main form. They want to see all the details in one form. I had implemented MDI but they want something like tabs. On different tabs different forms should be displayed. How shall I implement this.
View 4 RepliesHow can I change the background of my form to look like that of Windows Mobility Center in Windows Vista?
View 2 RepliesIt is possible to create windows service using windows form control in vb.net. give me the url or links. The windows forms control such as, Timer control, list-box, notify-icon control etc.
View 1 RepliesI have seen this happen before but am not sure how I resolved it in the past. On runtime the controls of my form change from the windows 7/vista format to an older version format as shown in the attached image.
How to display the controls in the format on the left (new windows format)
i am doing project of Order Accepting system for five star hotels.Scenario is Waiter will accept order using Window Mobile which is Connected to WiFi present in hotel.I want to communicate to database(Sql Server) present on My Machine (Computer present in kitchen) through WiFi and Add order into table present inside database. This should notify my application present on Compter and should print order. After completion of Order Application from kitchen will notify to waiter about completion. My problem is How to Communicate with database present on Remote computer using WiFi from windows Mobile.
View 2 RepliesIt is possible to create windows service using windows form control in vb.net.If yes then please give me the url or links.
View 1 RepliesSo i am having a bit of a problem.. What i want is for my application to show the panel in the from to display a windows explorer selection.. Look here
You see the panel 2 in here... Well the panel 2 needs to display this...
Is this possible you know like with a library or an extension or something.. Or do i need to make my own System for viewing files..???
It is possible to create windows service using windows form control in vb.net. The windows forms control such as, Timer control, list-box, notify-icon control etc.
View 2 RepliesI'm trying to move a windows form app to a windows mobile 5 device and I was able to get every thing working except this piece of code.
[Code]...
Is there a way in which I could invoke a windows form from a particular windows service....??
Have created a windows service, installed it and everything is working fine... Now I want to design another windows form that I would call from the service while running it I know that with the help of ServiceController class we could interact with windows service from a windows application but am not sure of the other way round implementation....
In my project one task is there how to refresh the windows form in vb.net
View 2 RepliesI have a VB.Net project that I am running from a local server and I need to use the credentials the user is currently logged in with to upload a file to a folder I create on a SharePoint site on the same domain. I can get it to upload if I specify the credentials but it will not work with system.net.credentialcache.defaultcredentials. It just gives me 3 empty strings and I get a 401 unauthorized error. I have seen a few threads that say you cannot use it with Windows Forms Applications. Is this true? Here is my code:
[Code]....
I have a solution with several projects most of which are code or control libraries. I have a main windows forms application that references and uses these libraries. What i am trying to do is create a 2nd windows application that extends the main one, but i would like to be able to deploy them as separate exe's.
When i try to add a reference to the new app referencing the main app; all seems fine until i try to run the new app i get several error msgs similar to below:
Error 1 Could not find file 'ADODB.dll' referenced by assembly 'D:Visual Studio 2005ProjectsXXXinDebugXXX.exe.manifest'. <newAppName>
i have tried adding references to all the dll's in the error messages and they are still listed when i try to run the new app. I thought of a few work arounds but they require user changes to maintain separate exe's at deployment. I would like to avoid this if possible.
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?
Trying to get the ID out of the hyperlink. Apparently the Facebook ID length has changed so my previous method no longer works. I'd like to future-proof it with a Regex to get the id regardless of length:
<a class="url" onclick="javascriptageTracker._trackPageview('/outgoing/psr/1/www.facebook.com')" rel="nofollow" href="http://www.facebook.com/people/facefacebookuser/1569349641">Facebook : John Doe</a>
1569349641 is the ID and can be any length. I'd like to return only this number.
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 RepliesSo I was wondering if anyone has done their own Forms (inheriting windows form and editing the properties) and if so, what your finished result was. And, if you are willing to post a screenshot of your finished result, that would be sweet! Trying to get some ideas of what can be accomplished with customizing the default form.
View 1 RepliesI'm upgrading a project from VB6 to VB2008.I have a routine that clears a combo box, named 'cmbDataTable' which could be on any form. I pass the form and the combo box is cleared.
[code]...
I assumed it would be the same in VB2008 but I get the error.'cmbDataTable' is not a menber of 'System.Windows.Forms.Form'I am working my way through the project, first updating the global procedures - this is one - I haven't written the calls so cmbDataTable doesn't yet exist.
FormA calls DialogB where user cancels DialogB which exits via ForceTermination(), see insert.Caller FormA check for DialogResult not = OK, which it isn't, and I can see this in debug as Abort(3).However, the code continues merrily along its way until I get a 'null reference' error which I'm trying to avoid via Force Termination().This is caused by the user cancelling DialogB, a selection process to get a database (SQL) instance.[code]
View 13 RepliesHow can I update and get values in a Windows Forms application while moving one form to other form (like cookies)?
I need to update the values to some variable and again I am going to refer stored values and need to do some calculations.
I have used cookies in ASP.NET but I am not able to find out the same concept in .NET Windows Forms (C#).
How can these issues be resolves?
I'm pulling a hyperlink from a SQL db and trying to embed it in an email programmatically as follows:
Dim dv As System.Data.DataView = CType(SqlDataSource2.Select(DataSourceSelectArguments.Empty), System.Data.DataView)
''Add Ticket URL and comments to answers dictionary
Dim emailMessage As New MailMessage("donotreply@myemail.com", "me@myemail.com")
emailMessage.Body = dv.Item(0).Item(1).ToString <--Location of email
Example of data being pulled from db:
<a href=http://www.google.com>My email link</a>
I'm trying to get it to show up as a hyper link an email, but instead it displays the full html as above. I've tried HTMLDecode, but that doesn't seem to do anything.
I'm trying to add a hyperlink to an e-mail that i send from an app.
Dim dwtasklist As String
dwtasklist = <a href="http:serverpathinit:int=1 ">Click Here</a>
Emailer.SendEmailMessage(mailto, mailfrom, "New Task Notification", "You have a new task in Dataworks," + dwtasklist + " to see your BROWSER task list")
the e-mail fires off fine but the end result is this message "You have a new task in Dataworks,Click Here to see your BROWSER task list" with no actual link. Could somebody point out my syntax error?
I have a Category table that have the following columns CatgeoryID, CategoryName, and CategoryPicture and i have Product table linked by Foreign Key to Category table.[ocd]e....
View 1 RepliesI have some code that lists file in a GridView with their size, date created and date modified etc. I want to add a HyperLink to the 'FileName' column but I have been unable to find a way to do this.
I build the Entire GridView in the code behind.
Sub BindGrid(path)
'Create GridView headings and add titles'
Dim dt As New DataTable
Dim Name As New HyperLinkField
dt.Columns.Add("FileName")
[Code] .....
I have an e-mail that i send out and everything works fine exceptthe hyperlink doesn;t link.
taskMessage = <a href="C:\Program Files\Microsoft Office\OFFICE11\powerpnt.exe"> Powerpint </a>
myEmailClass.SendEmailMessage("myemail", "your email", "You have a new stalker",
[code].....
VB6 has a HyperLink object and I cannot find such an object in VB.NET nor when I upgrade the VB6 to VB.NET.The upgrade comment gave this link "ms-[URL].. but it goes no where. Does anyone know what I would use in VB.NET (I am using .NET 3.5)
View 3 Replies