Search:
Type: Posts; User: zhshqzyc
Search:
Search took 0.06 seconds.
-
September 15th, 2014, 10:00 AM
We know that semaphore limits the number of threads that can access a resource or pool of resources concurrently.
For this example at...
-
March 28th, 2011, 06:20 PM
Hello, suppose I have a string that has length n.
Now if m<n is given, I want to find all substrings which have a fix length m.
Is there a quick way?
Thanks for share your code.
-
March 8th, 2011, 08:56 AM
I mean
string pattern = key + "[^\\d]+.*";
or
string pattern = key + @"[^\\d]+.*";
or
string pattern = key + @"[^\d]+.*";
I want to match a pattern that starts with "something", contains...
-
March 7th, 2011, 04:41 PM
Hi, I want to write a pattern like this, plase correct it.
string key = "something";
string pattern = key + "[^\\d]+.*";
return Regex.IsMatch(string_value, pattern);
I don't know how to add...
-
February 22nd, 2011, 08:56 AM
It was defined as
misValue = System.Reflection.Missing.Value;
I still got error even I redifine it in the scope.
-
February 21st, 2011, 10:26 PM
Hi, I am stuck here. The code is pretty straightforward.
string str1=null;
string str2=null;
int rCnt = 0;
for (rCnt = 2; rCnt <= nRows;...
-
January 12th, 2011, 11:09 AM
Hi, I have a list xxx which likes
List<string> xxx = new List<string>();
// add elements to xxx.
xxx ={a,b,c,t} //xxx is very long thousands of elements
// read a matrix from a text file....
-
December 14th, 2010, 10:22 AM
StreamReader sr1 = new StreamReader(name1);
Dictionary<string, string> dictmap = new Dictionary<string, string>();
Dictionary<int, string>[] dictped = new...
-
September 18th, 2010, 05:07 PM
Here is a little code but not completed.
Hope somebody give me a hint. I want to sort the result.
Object RReturn = new Object();
DataSet1TableAdapters.droughtDataTableAdapter k1 =...
-
April 23rd, 2010, 07:50 AM
Here used Intptr.
http://www.pinvoke.net/default.aspx/user32.setactivewindow
Which one is right?
-
April 22nd, 2010, 02:34 PM
Hello,
I don't know why I got the error.
EntryPointNotFoundException was unhandled by user code
Thanks for help.
Private Declare Function SetForegroundwindow Lib "User32" (ByVal hwnd As...
-
December 8th, 2009, 10:16 AM
Can you tell me how to check its existance in registry?
Suppose the component is named PControl.ocx.
-
December 7th, 2009, 11:10 PM
It's a control compontent.
OS WIN xp sp3.
I use regv32 to regist it.
It is in a user folder.
-
December 7th, 2009, 11:26 AM
Hello,
I have a vb6 application.
After I start or build the program I always get this error
Run-time error '713' Class not registered.
Even I register this ocx component, it is still there.
...
-
December 1st, 2009, 09:26 AM
The question is that the list items are already existing.
I want to replace or modifiy them with new values.
How to?
-
November 30th, 2009, 06:00 PM
Hi,
Suppose I have a listbox aaa which has two items.
How to define the text for each item?
My code is incorrect but not sure why?
aaa.ItemData(0)="Yes"
-
November 2nd, 2009, 02:38 PM
Hello,
I am using vb6. I got an error "Timeout waiting for ACK..." while start my app.
After some time(hours) the error disappeared. A new error occuried.
"File Not Found...
-
October 30th, 2009, 09:25 AM
Hello,
If I open the project's proterty. Some reference types are dll, the other are tlb.
But if I look at the path, both types files exist with the same name.
Why?
e.g.
xxx.dll and...
-
October 21st, 2009, 12:33 PM
Understand it mostly except two points.
1)If a dll is updated, is the old one still in the registry?
I mean if the current one is
...
-
October 21st, 2009, 09:19 AM
Hello,
Suppose I open a vbp file with notepad, then
Reference=*\G{BF119BF5-25E9-4807-9E24-F35B7E94449C}#c.3#0#..\Utils\utils.dll#Utils-Common
Can you please explain to me a little bit?
...
-
October 18th, 2009, 07:19 PM
Ignore it.
The question becomes that I want to define a variable
Public CERR_OVERAMT As String
CERR_OVERAMT = GetMessage(LDest_UserDisplay, MSGGRP_MESSAGEBOX, MSGID_MESSAGEBOX_CERR_OVERAMT,...
-
October 18th, 2009, 04:28 PM
Hello,
I got an error on the first parameter LDest_UserDisplay highlighted in the following function while compile.
Private CERR_OVERAMT As String
CERR_OVERAMT = GetMessage(LDest_UserDisplay,...
-
September 29th, 2009, 06:00 PM
Hi,
After I start the vb6 program, a message box jumps out.
FATAL ERROR OCCURRED! THE SYSTEM WILL SHUTDOWN!
System.InvalidOperationException: The Key 'xxxxx' does not exist in the
appSettings...
-
September 28th, 2009, 08:29 PM
I am still confused save vbps.
Can you please tell me when I close the project, all the files are highlighted.
Does it mean that all files highlighted will be saved?
If I click one file then click...
-
September 28th, 2009, 08:18 PM
I am still confused save vbps.
Can you please tell me when I close the project, all the files are highlighted.
Does it mean that all files highlighted will be saved?
If I click one file then click...
|
Click Here to Expand Forum to Full Width
|