Reg Search At Specific Processor Usage

Mar 9, 2012

I was wondering is it possible to search the registry for a string containing "shutdown" but as a proccess wich takes about 20% processor power instead of the 50% i cant quite afford. Its a nasty joke going around school atm to stick a shutdown command on computer startup, was gonna see if i could do something about it.

View 4 Replies


ADVERTISEMENT

Force A Specific Processor Affinity On An Unmanaged DLL Call From .NET?

Jan 23, 2012

I am calling a function from a VB.NET webserver to a custom written unmanaged DLL.If we call this DLL via a webservice on a multi-core server we run into problems and it always crashes.If I reboot the server and make it only use a single-core, it always runs fine and never crashes.I know the DLL call is responsible for the crash as I have outputted debugging code just before and after the DLL call.I can force the processor affinity of the .NET code to 1 core but this doesn't apply to the unmanaged DLL.How can I force the unmanaged DLL to only run on a single core as I am sure this will solve the problem?

View 1 Replies

VS 2010 Get CPU Usage For Specific Process?

Nov 8, 2010

How can I get the CPU usage for an individual, specific process? I know how to get the total CPU usage, but not for 1 process. What I ultimately want to do is list all the processes whos cpu usage is greater than zero.

View 1 Replies

VS 2010 ListView Box Usage; Removing A Specific Item?

May 19, 2011

I have a form with a ListView box and a button. When the user clicks on the button, the following code adds an item and subitem to the ListView box. The ListView box has 2 columns (Name and Gold).

Private Sub btnTest_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnTest.Click
Dim testName As String = "Slasher"

[code]....

View 8 Replies

How To Search For A Specific Folder

Apr 25, 2009

I have a big problem finding out how to delete a file in a folder when i dont know the name(s) on the folder before this one. Like this one, but what if i dont know the folder "test1" and "test2"?

[Code]...

View 2 Replies

Search And Zip Specific Files

May 18, 2010

I am trying to write a program that would search for specific files and then zip them up. Is that even possible in vb.net. I am using vs2005.

View 4 Replies

Get The Current Number Of Usage Days, Unique Usage Days, Etc In An Evaluation License Using CryptoLicensing Generator?

Jan 25, 2010

Get the current number of usage days, unique usage days, etc in an evaluation license using CryptoLicensing Generator.

View 1 Replies

How To Search A Dataset For Specific Record

Jul 27, 2011

I have finally taken the plunge and am trying to get my head around VB 2010 after years of playing with VB6. I am using the free VB 2010 Express edition to get me started I am not an acomplished programmer in VB6 - being totally self taught from books, files , forums like this and internet searches so I am finding the transition to .NET syntax very painfull. Unfortunately,

[Code]....

View 1 Replies

Search For A Specific Word On A Txt File?

Jan 31, 2012

Im working on a program that need to found the password line and the user one, here is my code. Im kinda confused about the method to search for the line wich contains the words "sa" and "platinum"[code]...

View 11 Replies

Search For A Specific XML Element And Read It's Value?

Jun 20, 2011

My XML document is setup like this:

<Parents>
<Parent Name="A">
<Child1>1</Child1>

[Code]....

I've been trying to figure out how to select Parent B's Child1 node so I may extract it's value. I have looked into SelectSingleNode and SelectNodes

View 5 Replies

Search Multiple Arrays For A Specific Value?

Jan 8, 2009

I'm trying to find out a way to search multiple arrays for a specific value. I looked through here, yahoo, google and msdn and couldn't find anything specific to what I'm looking for. Don't have any sample code as I'm not quite sure where to start.

View 2 Replies

Search Text Box For A Specific Word?

Jun 11, 2011

how I search text box for a specific word and if text box contain words msgbox shown (text founded) or (text not founded) ???? for exambel I have text and I want to search if this text contain ( www.daniweb.com for visual basic and web development) if text is [URL] visual basic for msgbox (text not founded) but if text is [URL] for visual basic msgbox ( text founded)

View 2 Replies

Using Search Specific Information On A Website?

Apr 11, 2009

Not sure if this is possible at all. I was hoping somebody could help point me in the right direction. Right now im not quite sure what to search for or what this would be called. Basicly I was wondering if it is possible to design a application in vb.net 2008 that could search a website for specific information.

View 1 Replies

Search A HTML Document For Specific Text?

Jun 20, 2010

I have a simple HTML viewer and I would like to add the capability of searching an open document for a text value I specify. Below is an example I found on MSDN. VB gives me an error, "Selection" is not a member of "System.Windows.Forms.Application".

Private Sub SelectionFind()
Dim findText As String = "find me"
Application.Selection.Find.ClearFormatting()
If Application.Selection.Find.Execute(findText) = True Then

[code]....

What I would like to search is the content of a WebBrowser control.

View 12 Replies

Search A Specific Record By Passing Peramiters

May 15, 2010

I have made a form i want to search a specific record by passing peramiters.

I have tried it by using this code:

OleDbDataAdapter1.SelectCommand.Parameters("CustomerName").Value = TextBox1.Text
Dataset11.Clear()
OleDbDataAdapter1.Fill(Dataset11)

When i use showposition() it gives me error.

I am using oledbadapter to find the record it doesa nothing and also when i tey to insert another oledbadapter it doesn't allow me to insert another olebadapter why?

View 1 Replies

Search A Textbox For Specific Text Then Replace It?

May 21, 2010

Is there a way to look in a textbox for some text1 and then if its there, it is replaced by text2?

View 3 Replies

Search All Dates Before A Specific Date In A Database?

Nov 14, 2009

I have a database (MDB, Access) and I connect it to my program using an OLE object,
now I have in the db a column filled with dates (ddmmyy),

I want to search and view (in Data grid view) all the fields that has a date before a Specific Date that I define .

the code of search that I used is :

SQLstr = "SELECT * FROM tb WHERE anomber = '" & TextBox1.Text & "'"

View 1 Replies

Search For A Image File In A Specific Folder?

Aug 19, 2011

How can I Search for a Image File in a spesific Folder. I need the code to be able to find an Image File by searching for an string in the Image File's name. For instance if the string I am searching for is "26" the resalts will bring up a file with a name like "Nick's Pie 00026" Hendri Bissolati [URL]

View 1 Replies

Search For Specific Text In Different Files In Program?

Nov 8, 2009

How to earch for text in different files in VB .NET. I used Stream Reader and also My.Computer.FileSystem.FindInFiles. They just helped me finding my text in "*.txt" files only[code]...

View 2 Replies

SQL Table Creation And Search For Specific Customer

Mar 15, 2012

I am making a booking app in vb.net and I am using sql server as my database. I am confused about table creation. I have increment of 1 in customerid which is primary key in customer table. Suppose if a customer books a room and according to the increment id"1" is assign to the 1st customer. Now after some days same customer again comes to the hotel and books for a room. Now this time a different id would be assign to the customer according the the increment may be id"125".

What to do if I want to search the customer for how many booking has he done so far. Because there would be different id's assigned to the same customer as every time he walks in to book a room different id would be assign to him. And suppose if I make surname as my primary key than may be other people will have the same surname. How to solve this search problem for a specific customer for all bookings he has done so far. And if i give a unique id to customer my self suppose "cust1" than every time customer walks in he has to remember his id.

View 3 Replies

VB 2008 Search In A Document For Specific Text?

Mar 9, 2009

What are the steps & code to make a text searcher in visual basic 2008:...........-I select or load the document in wich i want to search the word

View 1 Replies

VS 2010 - Search Dataset For Specific Record

Aug 1, 2011

My application will start (dataset filtered by username/date) and if it's the first time the user has used it today it will be a blank entry form because there is no record for today created. The user can just type data into the blank form and close it. On the form closing event I want it to run a tableadapter.insert(username, date, x,x,x).

If it starts a second time it will load showing today's entry because today's date was inserted previously when they closed the form. So this time when they close the form I want the form closing event to just run a tableadapter.updateall(dataset) command. I need some help with my form closing event...

[Code]....

View 2 Replies

Make Listview Item Search A Specific Folder

Jun 9, 2011

Is it plausible to have a listview item search a specific folder that has nothing but text files in it, pull the first 2 lines from the text file(s) and display them in columns 1 and 2. [Code]

View 4 Replies

Search A Webforms Textbox For Specific Word (VB 2005)

Sep 30, 2011

I have been searching all morning for a sample showing a simple "find" example for an ASP.NET Webform, where a "find" button is used to find a string in a Textbox, and then Highlight it, like Word does. The following VB6 code worked perfectly, but I couldn't find .Selstart or .SelLength properties in the Text property of the ASP.NET textbox.

'find the first instance
Private Sub Command14_Click()
Command36.Visible = True

[Code]...

Is there a way to Select the Length and Start of the string in ASP.NET. The Winforms code is very similar to the VB6 code, so maybe I'm just missing something simple.

View 3 Replies

Search An Array To Select First Substring Containing Specific String?

Feb 21, 2010

I need to create a code that searches an array of movie titles. When the user enters a specific string, the first movie title that contains that string is displayed. For example, entering "he" would display Sherlock Holmes as opposed to the Blind Side. I don't know how to create a code that reads a string that the user enters.[code]...

View 2 Replies

Search An Console Application For Specific Data And Apply It?

Jul 30, 2010

I'm fairly new to VB 2008(a few months in) and I'm trying to find certain information in my module. First here is my code:

[Code]...

View 2 Replies

Search MS Word Binary File For Specific Content?

Mar 4, 2011

I have some .doc binary files stored in my database and i would like to now search them all (without converting them to .doc) to see which one contains the word "hello" for instance.

Is there any way to do this search in the binary file?

View 2 Replies

Search Specific Word In Text File Within A Directory?

Nov 26, 2007

Am writing a windows app using vb.net 2005. The app captures a string variable from the user. As each file within a directory is read, I want to match the stored string within each file. If I find a match to the string, I want a list box to be populated with the name of the file. I have added Imports System.Text.RegularExpressions and tried using the match collection.

For example: My direcotry has 5 text files. I want to match a string "PARENT" in the text of all these 5 files. The list box should output the name of each file where the string was found.

View 2 Replies

VS 2008 : Search For A Specific Text Inside Of A Textbox?

Jan 22, 2010

I'm trying to search for a specific text inside of a textbox.If the text is found, I want all lines above to be deleted.

View 8 Replies

How To Search For Texts With A Specific Font Size In Rich Text Box

Dec 24, 2010

How do I search for the words with the same font size (e.g. 15) in a rich text box and put the words into a list box? For example, consider a dictionary whose word entries are of size 15 and the rests are of 12. So how do I put all word entries into a list box and then the description (of size 12) in another list box. I am using visual basic 2010. I've tried regex but couldn't find a way of specifying the font size.Consider the bold letters of size 15 and the rests of 12.[code](physics) hypothetical truly fundamental particle in mesons and baryons; there are supposed to be six flavors of quarks (and their antiquarks), which come in pairs; each has an electric charge of +2/3 or -1/3

View 2 Replies







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