Duplicate TAB Pages At Run Time?

Mar 15, 2012

My current project shows a single page tabcontrol with a datagridview. I read names from a mysql table, and create an additional tab page for each person (there's only ever going to be half a dozen or so, so it should be manageable).[code]...

View 2 Replies


ADVERTISEMENT

Understanding Others Project - Contains Many Directories - Many Asp Pages, Aspx Pages, Jsp Pages, Xml Pages, Css Pages

Jan 17, 2010

My boss has given me an asp.net web application that was done by his former employee. Now my boss has no contact with that employee. He wants me to make some changes in that web application. I went through the application. There is no documentation present for that application . Its a huge application. It contains many directories. I think it was a team work. It has many asp pages, aspx pages, jsp pages, xml pages, css pages, etc... How to understand other person or team's website or web application that was written in asp or asp.net and vb or vb.net?

View 4 Replies

VS 2008 List Of Web Pages That Load Into A CheckedListBox At Run Time

Feb 17, 2010

I have a list of web pages that load into a CheckedListBox at run time.These pages are user selectable.

Scenario One: Single Selection.The application loads the selected web pages and parse's the content, this could take a short time, or it can take a few minutes.No problem here. I am using a BackgroundWorker to perform the parse.

Scenario Two: Multiple Selection
My query relates to a method that I can employ to deal with iteration of the CheckedListBox to process the next selected web page back on the UI.

I need to wait till the BW has finished before we can move on to the next page.I'm sure the above example is not best practice to hold up the UI's iteration of the CheckedListBox, until the current web page is processed.

View 16 Replies

IDE :: Connect To Internet And Scan Pages For Hyperlinks To Reduce Time Consuming Clicking?

Jan 3, 2011

I would like to create a program that could; open a website, log on to my account, scan a page for links, and open those links. The ultimate goal would be to reduce time spent checking things like e-mail or MySpace.

View 1 Replies

ITextSharp - Calling AddImageToPage() With The The Optional Pages Parameter Will Add The Image To All Pages Though?

Dec 20, 2011

I am using Stanav's PdfManipulation2.AddImageToPage(..., Pages) for iTextSharp library (v5.1.3) and was not able to add the image to specific pages: e.g. to add to only page 1 and 3 of a five pages PDF

Dim Pages() As Integer
Pages = New Integer() {1, 3}
PdfManipulation2.AddImageToPage(..., Pages)

Calling AddImageToPage() with the the optional Pages parameter will add the image to all pages though.

View 14 Replies

Form On A .NET Webserver Using Aspx Pages With The Vb Code-behind Pages?

Mar 19, 2009

I have a form on a .NET webserver using aspx pages with the vb code-behind pages. The form collects the entered data and then emails it, that part works fine.Right after it gets emailed, this code checks to see if the email was sent or not and then updates the landing page accordingly. I used to use just an IF THEN statement, but now that doesn't work in these new .NET pages. Here's the end of the code that I am having difficulties with:

[Code]...

View 10 Replies

Make Html Pages Work Like Aspx Pages?

Jun 19, 2009

I have heard of setting server specs to have HTML pages parsed as PHP pages by changing the .htaccess or httpd.conf files. Is there a similar solution to have HTML pages parsed as ASPX pages?

A website I am working on does not want their PageRank to lower since their HTML pages are already indexed and used on other websites but wants to use some dynamic features of aspx pages (like include the navigation file so that changes to the nav will only have to be done in that one file).

View 2 Replies

Count The Duplicate And Show The Most Duplicate?

Mar 17, 2011

I have this data in txt file and the data keeps changing all the time.

[code]...

I would like to read all lines and compare, if the same name and same address is found, which is in the [......], then i need to count it and show the most frequent buyer!should i read it all and put in array, and compare and put the duplicate data and count into another array?

View 6 Replies

Get Number Of Pages And Number Of Pages Printed (System.Printing)

Jul 13, 2011

i have this program which records the every printing made on a local computer.I am to record the number of pages of the document to be printed and the number of printed pages. i have this code but i don't know the number of pages and number printed pages always return 0 [Code].

View 1 Replies

Remove Duplicate Items But Leave At Least One Of The Duplicate Items In The List?

Mar 27, 2012

I have a List object and I want to remove the duplicated items but leaving at least one of the duplicated items in the list;I wrote something like this however I would optimize this code for better performance, is there something faster?

Const chars As String = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
Dim rnd As New Random()
Dim mylist As List(Of String) = Enumerable.Range(1, 100).Select(Function(i)

[code].....

View 3 Replies

C# - Convert A Date And Time To UTC Time Based On The Time Zone Of The User?

Sep 6, 2009

I have an ASP.NET application with a SQL Server back end. I am storing all my dates in UTC format and doing the appropriate conversions to the local time zone of the browser viewing it. One of the pages asks for a start date and end date (no times).

I am taking the start date and setting the time to 00:00:00 hours (midnight) and I'm taking the End time and adding a time of 23:59:59, so that the date range covers the whole day. Now what I'm trying to do is do a SQL query to do a search for records in this date range. The problem is, the data in SQL is in UTC time and the user is typing their dates and times in their local date and times. My quickest solution was to convert the date and time to UTC, then search the records. However, by doing this, I am to believe ASP.NET converts the given time and date to UTC based on the server time zone. How can I convert a date and time to UTC time based on the time zone of the user?

View 5 Replies

Get MDI Child In Tab Pages?

Apr 7, 2011

I have a program developed in VB.NET (2008) which consists of a MDI form and several child forms. It worked like a normal mdi application whereby mdi form acted like a container for child forms and things worked out okay. Code like Me.Mdichildren or Me.ActiveMdiChild etc could be used to get list of child forms etc.

Now what happened is I needed to implement a tabbed system. There will be multiple tabs and forms would be in those tabs. So I added a Tab control in mdi form and now new forms are added to selected tab page. This way muliple tab pages can host forms and there is no need to see all childforms at once.But a problem has come up. I do say ChildForm.MdiParent = Me (as before) but then I say TabPage1.Controls.Add(ChildForm). Doing so functions like list of mdi children or me.activemdichild or auto arrange options like Cascade,Tile Horizontal, Vertical etc are not working.

View 7 Replies

How To Use Php Web Pages In Joomla

Mar 31, 2010

how to attach php web pages to joomla.Actualy i designed web pages with home page by using Dreamviewr...now im not able to attach those web pages to joomla.

View 2 Replies

Pass A Value Between Two Asp.net Pages

May 30, 2009

I want to know what the best practice is for passing values (sometimes multiple values) between two asp.net pages

In the past I have used query strings to pass a value in asp like this:

href='<%# Eval("TestID","../Net/TestPage.aspx?TestID={0}") %>'><%#Eval("Title")%> </a>

I assume you can do this in the code behind but I do not know the best way.

I also assume it is possible to pass more than one value.

View 3 Replies

Run Program And C# In Different Pages On NET Web App?

Dec 17, 2010

Is it possible to run VB .NET and C# in different pages on a .NET web app?

Picking up a legacy VB .NET project but need to add pages to it, is it possible to write these in C# or can you only have one language per project?

View 4 Replies

.net Reporting : Print It For More Than One Pages?

Aug 4, 2011

I drawn graphics in picture box that its content is report that i create by myself. then i want to print it.how I print it for more than one pages?

View 1 Replies

Adding Help Pages To The Program

Sep 21, 2011

I'm developing a program in vb.net, and I want to add in some help pages to the program, without using web-based help, so more like when you hit F1 in the Microsoft Office programs. Is there a straightforward way of doing this, other than just making it via lots of forms?

View 1 Replies

Asp.net - Calling Procedures From Different Pages

Nov 4, 2011

I have a Custom.ascx file that is used on a number of pages. Custom.ascx contains a couple of controls and a button called cmdCustomPageButton. When the user click on cmdCustomPageButton, cmdCustomPageButton executes a Protected Sub that gets some data from a database.

Page1.aspx that is using Custom.ascx has its own set of controls and procedures that it executes. It contains a button called cmdPage1Button and a procedure called RetriveData that is being called by other procedures as well within Page1.aspx. When cmdPage1Button is clicked it calls RetriveData. RetriveData is only applicable to Page1.aspx. Page2.aspx and Page3.aspx both has a procedure similar to RetriveData but is only relevant to its own page.

Try to explain using code:

Custom.ascx

Public Class Custom
Protected Sub cmdCustomPageButton_Click(Byval sender as Object, ByVal e as EventArgs) Handels

[CODE]..............

The question. How do I call the different RetriveData procedure form the relevant pages being it Page1, Page2 or Page3 when cmdCustomPageButton is clicked ?

View 2 Replies

Asp.net - Internationalization In Master Pages In .NET

Mar 30, 2011

I'm doing some internationalization for first time, and I have an issue: I would like to know if it is possible to internationalize from a master page. I added a dropdown list with some languages and I'm using a session , so when I change a language, the new Culture is detected and it changes, the page is reloaded and the contents (I'm using resources) translated. But it's not working. Here I attach some code:

[Code]....

View 1 Replies

Asp.net - Last Five Pages Visited Cookie?

Jul 1, 2009

I have a series of product pages and all I'd like to do is store the last 5 products viewed in a cookie so it can be displayed as a site-history. The problem I have isn't adding the five initial items to the cookie, its when they view 6, 7 or 10 items.Currently I have this flawed logic (i have replaced the cookie name (xxx) for brevity);

Dim i As Integer = 0
Dim productcount As Integer = 0
If HttpContext.Current.Request.Cookies("xxx") Is Nothing Then
Dim gingernuts As New HttpCookie("xxx")

[code]....

View 3 Replies

Automating Web Login Over Two Pages?

Sep 22, 2010

i am using vb2008 and trying to create an auto login and reboot for a secure console server "Lantronix SCS100", I can get through the first page with the code below but on the next page i need to check a checkbox "<input type="checkbox" name=OidC2.11>Server</td></tr>", then click event the "<submit>" button to reboot the server.

Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

[Code]....

View 1 Replies

Can Tab Pages Be Moved Like It Is Done In Excel

Jan 7, 2010

I am trying to find out if anybody know if tab pages on a form can be programmed to be moved by the user. For example I have 3 tab pages on a form and I was wondering if the user wanted to move the first tab page to the last and so forth, is the way to allow the user to do this?

View 9 Replies

Change Language For Pages

Jul 14, 2010

I'm able to change the language for my pages, however if I select french and I am on a current page and if I try to load another page, that page won't be in french. How can I set it so it is consistent throught? [code]

View 1 Replies

Convert Html Pages To Pdf

Feb 5, 2010

Im just imagining what the things I can do to make a pdf file out of my localhost files(.php).I tried using the online conversion tools but it didnt work because they're not on the web definitely.Can you recommend me of some ways on how I can achieve my goal of converting an html table into pdf and print it using the print function in vb.net?I'm using vb.net as my interface for the database program I am making(mysql) utilizing php as the code to manipulate database. I've made use of vb.nets web browser to achieve this. Because I'm still a moron when it comes to php.

View 6 Replies

Count The Number Of Pages For Each Pdf?

May 10, 2011

I have a bunch of pdf files in a folder and would like to know the best way to either via a free PDF counter software or programmatically how to count the number of pages for each pdf and put the result in either a excel or access table. I already have the table populated with the pdf filenames. I googled "PDF page counter" and there were a number of hits, however I'm not sure how trust worthy these tools are. So, what some names of trust worthy pdf page counting tools/software and alternatively, are there any good VB.NET code samples that attempt this?

View 2 Replies

Different Methods When Different Pages Cause Webbrowser_documentready?

Jan 23, 2010

i have 3 methods:

1. form input method

2. scrape results method

3. scrape google method

all 3 methods need to be run on different pages when the document is completed the basic logic is like this go to url wait for page to complete input a form wait for page to complete scrape the page for keywords for each keyword go to [URL] wait for page to complete scrape some other info nextso the 3 actions need to be called on the document ready state of the webbrowser, but i can't just have it as a sub because i dont want all 3 to run at the same time right?

View 5 Replies

Get Multiple Pages To Print ?

May 28, 2009

I know to print what is visible on the screen the [code]....

View 4 Replies

GET Webrequest Not Returning All Pages

Jul 19, 2010

I am trying to implement the webrequest get and post methods. I am accessing a secure site that requires login authentication and was told that instead of sending a login request all the time; login to the site and capture the cookie and use this to send it in the header to get results from the page. In other words let us use google for example.

Lets say google required u to login before searching for something. Now I login through my browser and leave the site logged in. Now I send a httwebrequest from my program that includes the cookie authentication details in the request header and get results for say ?param=sports. Now when I increment the page number like &page=3, I am still only getting page 1 results. Here is some code:

[Code]...

View 2 Replies

Have Pages Of TableLayoutPanels On A Form?

Jun 24, 2010

Is it possible to have pages of TableLayoutPanels on a Form?

I have a TableLayoutPanel which displays 6 rows of thumbnails of video files which is filtered by alphanumerical order. However, some views have 500+ files to display, which causes the TableLayoutPanel to crash.

I was wondering if it is possible to do pagination, like web pages, to display 10, 20, or even 50 rows per page.

View 2 Replies

How To Clear Cache Pages

Jun 5, 2009

I am working on a web based project using .net 2.0. I dont want my pages to be stored in cache or internet history.

View 2 Replies







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