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 have a web portal running on my intranet. Now i want to design a windows client in which when user logs in for a particular machine for a day, then if he hits the web portal link then it must not ask to log in with its username and password again. Please suggest and give your views.
Yes, I can. But my portal uses the employeeID as login id with its custom password. but for this i need to make a way out to map employeeID with domain user. But i never used windows authentication. Is there any other way of get around ?
What I am suggesting is that you totally get rid of form based authentication. You should just have windows authentication. This will eliminate all the need to maintain uses in database.
If you are managing roles and rights in database you can either move that to active directory where each role will be transformed to an AD group and based on group you set rights in code. If this is not feasible, keep authentication windows based but have authorization done in code through database tables.
Here[^] is a blog that shows how to implement windows authentication with database based authorization.
"You'd have to be a floating database guru clad in a white toga and ghandi level of sereneness to fix this goddamn clusterfuck.", BruceN[^]
Reposting the same question, without any additional information in multiple forums.
If it is during painting, then read about the DoubleBuffered property. If it is during processing, check out what a thread is and move the work to a thread. If it is during construction of the form/initial show, then you probably have lots of controls on that form and should try to remove some.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
Rather than constantly re-posting the same terse demands for code, try typing your question into a search engine. You'll get the results much faster, and you won't end up annoying the unpaid volunteers who are here to help when you have a genuine question.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
Hi All -
First, I am not a designer. It's really hard for me to come up with a design for my applications. I am not sure if I should use tiles (like windows 8 / 10) or Ribbon Bars or Metro Forms or anything for that matters.
How do people come up with really good designs for the programs?
I do not want my program to look cheesy or generic but professional.
I have looked at different software designs on google but don't see what I can use.
The main thing is:
1. Focus on the main point(s) of your application.
Now for graphic design there are some things that help user's minds take in your information easily and quickly and have a better experience.
Those things boil down to CRAP*
So, think about what you want the user to focus on in your app and then use CRAP as you sketch a drawing out on paper. Finally, turn that into your app.
Thank you greatly for the reply. To be honest, I think I already have CRAP for design.
I will look into the book you mentioned. Basically, my application is content management. It's specific to a certain type of industry and they will be putting in people (in a database)and things that are associated with that person. I have looked at other programs for this and they look generic and come as stock control color winforms. For anyone that thinks they can code is up for a surprise when you want it to look professional and you don't know how to have your software look and feel.
I have a VB.2010 program that has a Setup/Deploy project. It is one of many using the same techniques (MSI file with file exists and launch conditions)
It was been installing fine on all supported windows until now on Windows 10. It still installs fine on Windows 7.
The setup has a file exists condition requirement in a launch condition. This file is definitely on the target PC in the correct folder and is the same file used by several other vb.2010 programs that did get installed ok on this W10 PC but not this program. The message is triggered that the launch condition (file not found).
This has happened on a client's machine and ours.
Any idea why this one program's S/D can't find that file and more important how to fix it.
I have created an application to get the data from bio-metric machine using C# [using Timer]. But it's not stable during its continues working. Please any one help me to design a stable scheduler program in C#.net.
You need to analyse why it's not stable. Is it a problem with the hardware? Are you having threading issues? Having an effective logging and exception handling strategy will be a big step forward for you, as it should help you focus on the causes of issues.
I am sorry, Its Because, I have created a Windows Form application to do this process and to visualize my schedules and list of my machines. I have closed all my objects after its use, then how the memory leak happen?
I am creating a pdf using iTextsharp dll , and i need a open source dll/ dontrol to display the created pdf without using Com component or any paid dll . there must be no dependencies . i am finding it challenging , can anyone help me with my RnD?
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!