VS 2008 Calculate Front Side Bus (FSB)?

Nov 5, 2009

I've been working on a way to check a user's hardware for performance reasons and have been using WMI to find almost all the information I need. One thing absent is the FSB of the processor (it's not in the Win32_Processor Class as far as I can tell).

Does anyone know of a way I could go about to find this using an API, Memcopy or something?

View 2 Replies


ADVERTISEMENT

C# - Send An Object From Client-side Javascript To Server-side Code Via ASP.NET?

May 23, 2011

Can I send an object from client-side javascript to server-side code via ASP.NET ?

View 5 Replies

Fire Client Side Code From Server Side At Runtime

Apr 13, 2010

I know this defeats the purpose of client side vs. server side (refer to title of this thread). What I would love to do is build my own custom progress indicator on the client showing how far a server side code has progressed. I figure if I could only get a JavaScript to fire and render a value of some control at pre-defined intervals while the server is working I could make it happen - but alas I'm beginning to believe that this is impossible. Below is some code that performs three 2 sec loops. At the end of each I want to change the visible value of a control on the browser. [Code]

View 8 Replies

Html - Webpage Stacking Xml Documents Instead Of Showing Side By Side, CSS?

Feb 23, 2012

I have a basic asp.net web page. I have a menu bar divided into 3 columns. Each column displays an xml file. However instead of showing them side by side it displays them one on top of each other. i think it might be to do with my css?

My asp.net web code:
<div class="menubar">
<div class="menuleft">

[code]....

View 2 Replies

Javascript - Format Data (client-side) For (server-side)

Jul 13, 2011

Using the following script:

$("#some_button").click(function() {

var changed = [];

[CODE]...

I need to send back the id, the old value from _1 and the new value from _0 back to the server. What is the best way to format this data so I can easily extract the data from the server side so I can easily email someone for example to let them know which textboxes have changed, what the old values were, and what the new values are

At the serverside level, I am using .NET-3.5 (VB). I know how to send the data bacl. and how to email the data, I just wanted to know how to best format the data at clientside before sending it back. I could have upto 50 sets of id, old, and new values to send back. Sorry for not making that clear earlier.

Example:

How can I modify the script above to generate this?

[
{
"id": "name_0",
"new": "text",

[CODE]...

View 3 Replies

Making A Button That Can Move In A Path Random Up,down, Side -side, Etc?

Dec 18, 2011

I'm working on a 2d game. making a button that can move in a path random up,down, side -side, etc. in a selected space. and once hits end of the form to slide out and reappear at other side of the selected space and do same thing over.

View 1 Replies

Asp.net - Add Bottom Side-to-side Scroll Bar To ExtJS Grid?

Oct 14, 2010

Here are my two grids -- they are ExtJs grids however we wrap the declarations in vb.net code:

Dim VehicleOptionsGrid As New Framework.WebControls.Grids.Grid
With VehicleOptionsGrid
.ID = "VehicleOptionsGrid"
.Title = "Vehicle Options"

[code]....

Using javascript, is there anyway I can add a bottom scroll bar to these grids? Doesn't seem like we have a wrapped command to do it...

View 1 Replies

Html - ASP.NET VB Nested Listviews Appearing Side By Side

May 14, 2011

I currently have a parent Listview and its child Listview displaying in the centre column of an HTML page that consists of three columns left, centre and right. And all looks very good. However I would like to display the child list view in the right column beside the parent list view.

To do this it seems I must somehow generate from the code behind page a new row in the table every time the parent Listview displays a record of its data and then some column HTML so the first child list view will appear in the right hand column.

View 1 Replies

Timers On Server-side - From A Client-side Piece, Call Off To A Server-side Piece

Apr 22, 2011

I'm trying to, from a client-side piece, call off to a server-side piece. I need to do this synchronously. On my server-side code, though, I'm calling off to another piece of code, which I want to have a maximum of, say, 10 seconds to return a value. If I don't have a response within 10 seconds, I want to force my own server piece to set my result equal to 0, and return to the client.

Here's what I have on my server-side code so far:

Public Function GetWebResult(ByVal inputParameter As Object) As WebReturnObject Implements IWebInterface.GetWebResult
Dim result As New WebReturnObject
Dim webItem As WebItem = Nothing

[CODE]...

I realize this code is not functional. The problem is that I'm unsure how I would go about getting back into GetWebResult to set the appropriate return values before it is sent back to the client.

View 1 Replies

Change The Execution Sequence (Client Side Click, Server Side Click) To (Server Side Click - Client Side Click)?

Jun 22, 2011

I am struckup with a problem from last two days. I am creating a web application using VB.NET, Ajax & RAD Controls. When user clicks on a button I want to open a RAD Window and show the list of ledgers available to the user, so that he can select one from the list. And to open that window I have to call a java script function from client side, which is already achieved using the below code.

[Code]...

View 8 Replies

Asp.net - Server Side Doesnt See Changes On Client Side?

Jan 25, 2012

I add an option to a select with jQuery. When I save with an asp button, I don't see the changes on the server side in the click event.

And the HTML is all correct after I add the option.

Is it a coding problem or I don't understand something?

$(selectCourant)
.append($("<option></option>")
.attr("value",$(dropdown).val())
.text($(dropdown + " option:selected").text()));

View 1 Replies

Duplicate From Controls For Side By Side Comparison

Jun 18, 2012

I have an application which have multiple tab pages. On of these pages I have a group box with many controls that do something.Now the problem is I want to add exactly the same group box by the current one that can have different paparemeters.This is exactly the way that i want to add comparison capability between to set of parameters.I have more than 500 lines of code that responde to changes of these parameters and does something.Is there any way to replicate the the whole gropbox and use the same code for both and and being able to difrentiate between gropboxes.I think there was an array control in vb 6 but I am not sure if this the best way to do this in vb.net.What is the best way to do this for the least amount of changing the code and wasting time.

View 1 Replies

VS 2008 - Maximize And Bring To Front IDE Of Another App

Aug 27, 2010

I have an application of which only 1 instance can run at the same time. Thus in the StartUp event I check for this to be true, and if not close the new instance started. At the same time though I'd like the application to switch automatically to the instance already running. By finding the processid of that instance and using appactivate this is working properly, except when the instance already running is minimized. It then switches to it, but since the instance is minimized, its ide will not show.

I need to use something like sendmessage, but am not able to find how.
-Since I already have the processid, could someone tell me how to use code to maximize and bring to the front the ide of another currenly minimized application?

View 1 Replies

VS 2008 Bring To Front Check?

Nov 29, 2010

I want to do a check to see if a item is in front if not then do MyItem.BringToFront else MyItem.SendToBack

View 1 Replies

VS 2008 PictureBox - Smear When Not In Front?

Mar 16, 2010

When another window, I have been using Calculator, is in front of my app, and it is moved around, it leaves ghost images until I get the picturebox refreshed. I assume that it has to do with the number of items that I am drawing, which can get extremely high. Here is PictureBox1.Paint handler.

[Code]...

View 3 Replies

VS 2008 - Drag And Drop - My Form Now Goes In Front

May 16, 2009

How do I make it so that when a user brings an explorer folder on top of my app - so that they can drag and drop a file into a grid control

[edit] - it's actually a listview that they drag into - but that shouldn't matter [/edit]

That when they drop the file my app fires off a AddFile.ShowDialog pop-up form

I want that AddFile form to be in front of the explorer window

CODE:

View 6 Replies

VS 2008 Send To Back, Bring To Front

May 11, 2009

I know there is an option when you right click a control you can bring it infront of another control and stuff, but....

When ever I draw a line in my vb.net script using

myGraphics.DrawLine(pen:=myPen, x1:=1, y1:=1, x2:=e.X, y2:=e.Y)

I want to know how I can make this line appear over a Panel, Label, and other stuff... like Bring to Front in a way.

View 4 Replies

VS 2008 Send To Back, Bring To Front?

Jun 17, 2009

I know there is an option when you right click a control you can bring it infront of another control and stuff, but....hen ever I draw a line in my vb.net script usingmyGraphics.DrawLine(pen:=myPen, x1:=1, y1:=1, x2:=e.X, y2:=e.Y) want to know how I can make this line appear over a Panel, Label, and other stuff..

View 12 Replies

[2008] MDI Parent In Front Of Windows Task Bar?

Mar 12, 2009

My MDI parent form sizes itself so that the activity field (with the start button etc) doesnt show. This happens every now and then and I cant figure out why.

Of course I want to see the activity field,

View 4 Replies

Loading Forms Side-by-side?

Jul 3, 2010

I have form 1 and form 2 form 1 is already loaded. When i load form 2 i want it to apprear right next to form 1 on the right hand side. What code should i use to accomplish this.

View 3 Replies

Sorting 2 Arrays Side By Side?

Jan 18, 2012

Basicly I have a program that retrieves data and parses it, which is fine, so it starts from:11:981.8 which equals to November 981.8 now what I have done is split the "November" and the "981.8" into 2 different arrays, with other similar data, now what I need to be able to do, is sort the array in either Ascending or Descending order, however keeping in tact, the November and 981.8 side by side in a list box.

My current code is:

Private Sub sortData(ByVal strYear As String, ByVal strSort As String)
lbDispData.Items.Clear()
Dim strData As String = My.Settings.usage2011
Dim arrRawData() As String

[Code]...

EDIT: Just to mention, there are many more values, not just November and 981.8, there would be for example December and 128.1, January and 191.1, etc.

View 2 Replies

VS 2008 : Show Up A Form In Front Of All Other Opened Apps?

Aug 21, 2010

I would like to know if its possible to show up a form in front of all other opened apps . Exemple : myapp.exe (is under of all those application) internet explorer , photoshop , windows live messenger. On event (for exemple on new message recived) myapp.exe will show up all over other forms.

View 3 Replies

Butterfly Program - Animation - Butterfly Is Going To Be Moving From Side To Side In A Slightly Upward

Jun 3, 2011

I am starting a butterfly program and having an issue and really just barely have it started and would like to get some helpfeedback on how to do this. The following is the instructions and I will make a second post on what code I have so far...The butterfly is going to be moving from side to side in a slightly upward assent when the animation starts. You need to build a set of controls that allow the user to control whether the butterfly ascends (up) or descends (down) and also allows the direction of the butterfly to change (left or right). The best way to implement this feature is through the use of keystrokes that when pressed act to control the direction of the butterfly. Whether you implement this feature through keystrokes or controls, make sure that the feature is communicated to the user.

Butterflies fly by opening and closing their wings. So it is expected that the butterfly will alternate between opened and closed as it wings its way across the form. If the butterfly is moving right, make certain the butterfly graphic displayed shows the butterfly as moving toward the right. If the butterfly is moving to the left, make certain the butterfly graphic displayed shows the butterfly as moving toward the left.

If the butterfly reaches the top of the form in its assent, it should wrap around to the bottom of the form. If the butterfly reaches the bottom of the form in its descent, it should wrap around to the top of the form. If the butterfly reaches the left edge of the form, it should begin flying toward the right side of the form. If the butterfly reaches the right edge of the form, it should begin flying toward the left side of the form. If the user changes the direction of the butterfly, insure that the correct graphics are used in relation to the direction of the butterfly and that the butterfly moves in the indicated direction. Please note that when the butterfly reaches the edge of the form, the butterfly must change direction regardless of any user input.

View 8 Replies

Javascript - Register A Client-side Event Listener On A Server-side Event?

Dec 28, 2011

Ultimately, what I want to accomplish is an AJAX-based messaging system. I already have a database table for messages, and an ASPX to add new messages (and declare old messages no longer relevant).

The current messaging system simply polls the server every 15 seconds, and re-pulls the current message set.

What I am looking to do is: On $(document).ready(), register an ajax callback function that listens for a server-side event (e.g., MessagesUpdated) On table insert/update, fire MessagesUpdated server-side.

This way, whenever the table is updated (or new records added), any clients listening know that new data is available and can re-poll the server then.

Ideally, I'd also like to make the new data available as an event argument (to minimize re-polling the db).

I can find references to something like this in other languages, but I cannot find any actual code examples to get me started.

Assuming this is possible to do via .Net, can anyone help get me started on this?

I'm using the 2.0 Framework. Also while I added a VB.Net tag, I can read C# reasonably well, so please feel free to post in either language.

View 4 Replies

VS 2008 Password Access To Front End Menu Calling A Function?

Apr 2, 2009

I need to create password access to a front end menu by calling a function so far all i have is the following:

Private Sub btnLogIn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLogIn.Click
If txtPass.Text = "password".ToUpper Or txtPass.Text = "password".ToLower Then

[code].....

View 2 Replies

VS 2008 Bring The Open Excel Sheet To The Front After Form Finishes?

Mar 18, 2009

I am working on an excel add-in. Currently I have a couple of forms that grabs info from excel, processes and pastes data back into excel.My problem occurs after my form closes (this leaves excel and one other MDI form still open). I need my excel sheet to come to the front for users to view and edit. My MDI form just stays on top even though I just edited the excel doc. I have tried everything I can think of using:

.visible
.activesheet etc.
Here is my latest:

[code]....

View 18 Replies

VS 2008 How To Let A Class Do Mathatical Side

Aug 18, 2009

Hey everyone - I am working on a project and having a hard time getting my head around serparating the business logic from the rest - In the course I am doing we covered it breifly - but I am a tad cunfussed as how to let a class do the mathatical side of things for me - What I want it for my main form to have no formulas in it (which is the essence of seperating the business logic as far as I am aware) - From the code below I want the main form to grab the data entered in the textbox and for that to be sent to the class and then the approprite value to be returned.[code]As much as this is related to the course I am doing - it is not work to be submitted for grading - It is just an extra exercises for my own learning and satisfaction.

View 2 Replies

VS 2008 How To Get Out Side Process Command Line

May 29, 2012

i wont code in vb.net get Out Side Process Command Line

View 4 Replies

VS 2008 Moving Other Windows (to The Other Side Of The Screen)

Apr 17, 2009

its possible to move other windows etc if I have Ie open can I restore down the window then move it to the other side of the screen?

View 1 Replies

Creating A Database Management Software Using VB IN VISUAL STUDIO 2008 As Front End And ORACLE 10g As Backend?

Jul 6, 2010

I am an absolute newbie in both oracle and visual basic. I have covered some basics as tutorials and want to develop a database using Visual basic as front end and Oracle as back end. I have Visual Studio 2008 installed and I will use Visual Basic from that. I also have Oracle 10g express edition installed on my system.

View 6 Replies







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