i am crested the six dropdown lists each ahving the seven items .(c# windows application)
if i click one itemin one dropdown list that item canot repet the remining items i need this if u have any idea
plas send to me
How can I convert the keyboard layout to arabic? I could covert the characters using the API 'LoadKeyboardLayout'. But the digits are not converting to arabic. I searched in the net for the API I understand the digits can convert with the function 'SetLocaleInfo'. This function receives 3 arguments but i don't know the value should be passed to this funtions. Please help to find the values of the arguments.
I think that is because when you start the OS, it needs time to start all process... And, if you sum the start of your app is more time. And if you think in the first time that your app is started expenses more time... IT's too much time to sum!!
To start your app faster the first time you can use ngen.exe. It precompiles and makes your application run the first time as fast as the other next.
Visit my blog at http://dotnetforeveryone.blogspot.com/
Is there anyway to extract the PID and the timestamp in each block in a single regex? The pattern I am using, which gives me the PID is ...
I can then iterate through a MatchCollection obect returned from RegEx.Matches and process all the PIDS using the MYPID group. But I need the date as well. There will always be three lines following the line with the PID...
I can get the date with
but can't join the two so I get the PID and date for each block.
The space after the colon in the date regex shouldn't be there - it prevents a smiley from showing.
Any help much appreciated.
"More functions should disregard input values and just return 12. It would make life easier." - comment posted on WTF
"I haven't spoken to my wife now for 48 hours. I don't like to interrupt her.
I have some weird problems connecting to SQL Server 2005 and I hope you can help me:
I have written a c# app on an acer n300. My app is connected to a SQL SERVER 2005 database. This app works fine. So I decided to install the app on a second pda . Both pdas have wireless lan and windows ce 5.0. But my app does not run on the new pda.
// ConnectionString = "Data Source=188.8.131.52,1433;Initial Catalog=PocketPcDatabase;User ID=sa;Password=server;";
// 192.168.71.10 - your IP address
I have installed Compact Framework 2 SP2, but as soon as I try to connect to the database a get the error SQL Server does not exist or access denied. I am absolute sure that my connect string is OK, as it works on the acer pda. The configuration of SQL Server should also be ok, as I can connect from the acer devices.
Network connection is also OK, as I
can connect with remote Terminal Services to the machine hosting the database without any problems.
Can you give me a hint whats wrong? Are there any cab files that I must install on the pda before SQL Server 2005 Client is working? I only installed .net Compact Framework.
Hi there .
Check your sql server surface area configuration . and check 'Enable remote DAC' this will help you.
if you can't connect again to your server on the server side check sql server user permissions .
Hi Guys and Gals. I urgently need information on how to use the Vertical Scroll bar in Windows forms. If any of you would be able to point me to a project that might contain the code I need it will be greatly appreciated.
Sorry, I have no project to point you to, but the documentation can be found here[^]. Adjust the properties Minimum and Maximum to determine the interval of the scroll bar. Respond to the ValueChanged event and read the Value property to reflect changes when the user scrolls (or optionally use data binding).
It means you're trying to compare two strings that are in different formats. COLLATE[^] is, from memory, the thing you need to play with. Although I don't see how you can compate Latin and Arabic fonts.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
I did a chat application. But I stuck in the finishing point.
I used a windows service as server. This windows service will create and maintain a remoteable object. The clients are connected to this remoteable object using tcp channel. In addition, I implemented an application for the interface of server. This windows application will run on the server machine. Users are added throw this windows application. In addition, the available users and their status will display in this application.
The windows service with startup type automatic will always run on the machine. Whenever the windows application for the server interface started, It will call a function on the remotable object to attach this application to windows service.
'this' will stored in the 'remotableObject'. So whenever the clients become online or offline, they will send a notification to windows service. If the server interface application is running the windows service will try to list the status of users in a list box. To do this, windows service will pass a serialized class of 'users' to server interface application. Everything is ok till here. I could deserialize the 'users' object. Now only one job is remaining is that list the users in a 'listbox' control. But when i call the functions of listbox, the program stop responding. No errors are displayed. Can you guess what is the problem?
As per my concern, You are going to update the UI (Form item). I would to say, If you want to update the UI then please do it with the help of delegates. I thought yor are update the UI in any event so it going to stuck.
Please go through how to update the UI via deligates.
Oh yes the scenario I explained above, it happened when the server interface tried to add a user to remoteable object. Its work in an event of server interface windows application. I tried another example, which is not call from any event. It is working. Therefore, as per you said I will use delegates. But how can you understand that it is the problem of events? Actually I didn't understand what is the real problem that's why I ask. Thanks for your precious advice.
Thanks and Regards,
Last Visit: 31-Dec-99 19:00 Last Update: 5-Feb-23 10:30