Choose the correct forum for your message. Posting a VB.NET question in the C++ forum will end in tears.
Be specific! Don't ask "can someone send me the code to create an application that does 'X'. Pinpoint exactly what it is you need help with.
Keep the subject line brief, but descriptive. eg "File Serialization problem"
Keep the question as brief as possible. If you have to include code, include the smallest snippet of code you can.
Be careful when including code that you haven't made a typo. Typing mistakes can become the focal point instead of the actual question you asked.
Do not remove or empty a message if others have replied. Keep the thread intact and available for others to search and read. If your problem was answered then edit your message and add "[Solved]" to the subject line of the original post, and cast an approval vote to the one or several answers that really helped you.
If you are posting source code with your question, place it inside <pre></pre> tags. We advise you also check the "Encode HTML tags when pasting" checkbox before pasting anything inside the PRE block, and make sure "Ignore HTML tags in this message" check box is unchecked.
Be courteous and DON'T SHOUT. Everyone here helps because they enjoy helping others, not because it's their job.
Please do not post links to your question in one forum from another, unrelated forum (such as the lounge). It will be deleted.
Do not be abusive, offensive, inappropriate or harass anyone on the boards. Doing so will get you kicked off and banned. Play nice.
If you have a school or university assignment, assume that your teacher or lecturer is also reading these forums.
No advertising or soliciting.
We reserve the right to move your posts to a more appropriate forum or to delete anything deemed inappropriate or illegal.
When answering a question please:
Read the question carefully
Understand that English isn't everyone's first language so be lenient of bad spelling and grammar
If a question is poorly phrased then either ask for clarification, ignore it, or mark it down. Insults are not welcome
If the question is inappropriate then click the 'vote to remove message' button
Insults, slap-downs and sarcasm aren't welcome. Let's work to help developers, not make them feel stupid.
I am trying to build a windows form application where i can control basic features of windows phone such as, call and message. Suppose phone and PC are in the same wiffi network, then i need to get the call notification on my windows application as soon as i get any phone call over phone and same goes for the message also.
Please any one let me know is this can be done, if else please guide from where i have to start.
I was planning to WCF for interation with the phone using TCP.
I am currently writing a book on Windows Forms. It was a surprise to me, while fact-checking, that Label and LinkLabel have been "replaced" by ToolStripLabel.
The ToolStripLabel control replaces and adds functionality to the Label and LinkLabel controls. However, the Label and LinkLabel controls are retained for both backward compatibility and future use, if you choose. Link[^]
So, no need to start changing our code, but I'm amazed I've never seen this before.
basically i took the code from a msdn link and customize bit. one thing is not clear to me which function is getting called first when user scroll datagridview. please tell me the function name.
also tell me how relation has been established between datagridview scroll and function call to load next set of data. here i am not posting my full code rather here leaving a url from where anyone can see the full working code.
here is the url http://stackoverflow.com/questions/31458197/how-to-sort-datagridview-data-when-virtual-mode-enable/31475803#31475803
please have a look and help me to understand the area which is getting called when user scroll down the datagridview. thanks
one thing is not clear to me which function is getting called first when user
You should read more of what is one MSDN, as it explains the topic quite well. The "ValueNeeded" event is called for each cell that needs painting, regardless of what causes the paint; whether that is a scroll, or maximizing the form. If the grid needs values, that event is fired.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
i got the logic how to raise event to calling environment.
i am in confusion from where to raise event in my code. apologized that i could not submit my full code but here i am mentioning a url where i post my full working code. please have a look and guide me how to raise event from my code.
so this is the url where i post my full working code
Had to change the code a bit, but managed to get it working and added a Form1_Shown event as well. Two things:
1) IMHO, I think that's what I need instead of a Form1_Load event, because I want to add something after the form has loaded and displayed all the controls with their initial values.
2) I have a bigger question now: What's the practical difference between the load event and the constructor code that I can write at the beginning of the form, right after the InitializeComponent() part?
Can you help me? THANK YOU, again!
I am in need of help please as I am not familiar with the folder permissions stuff.
Everyone has access to a particular folder where the files are held.
Q1. The folder permissons have 'EVERYONE' set to tick on everything
Read & Execute
List Folder contents
There is also [company name]/Administrators - they have the same settings as above.
There is another group for everyone [CompanyName]/[CompanyName]
How can we prevent access to this folder for everyone?
The problem is in the VB.Net application, there are some forms that creates a file in that folder and 'everyone' who logs into this application are allowed to generate a file
that is written to this folder BUT we don't want them having access to the folder to see all the files.
The software (VB.Net) actually generates files by a logged in user but they shouldn't be able to access the folder when they go to the My Computer->Network->Folder.
We need to make sure it is creating the files and can view documents within the software only.
Considering a Windows Forms application runs AS THE USER THAT LAUNCHES IT, so your security isn't really going to work. At BEST, what you're going to be able to do is prevent users from casually looking in the folder to see, well, nothing. The user wouldn't be able to see the files in the folder. All you have to do is turn off the "List folder contents" permission.
I said "casually" for a reason. Users and/or administrators will still be able turn that permission back on and easily see the files in the folder.
You basically have no recourse to do what you want. In order for the application to work on the files it needs to it needs a certain minimum set of permissions. That means that the users running the application need those permissions. You set permissions on users and groups of users, not applications.
Oh, and nothing in a forum environment is "urgent". Everyone here volunteers whatever time they have to answering questions on forums.
Could someone help in understanding with examples of multiple controls in a Panel which is in an Table layout and should behave like web Accordion? I have gone through the websites and other tutorials but none of those examples have real time scenarios. So it is very hard to find the exact procedure of accordion will act in windows forms with multiple controls like textbox, combo box, checked list box, button etc. I would like to have one such article with real time Examples of Code snippets from SA because this concept has not been explained properly anywhere in google with snippets and examples
Your help is much appreciated.
Oops. I am sorry. I don't want to help me in writing an article. I actually wanted an article/ tutorial to understand accordion in windows forms. I am working on windows forms and I wanted to do something like in Web Accordions. That's the only intension.
Your help is much appreciated.
Last Visit: 31-Dec-99 18:00 Last Update: 2-Sep-15 8:04