|
AutoScroll doesn't do what you apparently think it does. P/Invoking the Win32 API is also overkill. All you have to do is call the ListView's .EnsureVisible(index) method!
Documentation[^] on ListView.EnsureVisible method
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
What is the differenece between the debug and release ?
Faris Madi
Nothing Comes Easy (N.C.E.)
|
|
|
|
|
In release, compiler will not create debug information.
Best regards, Alexey.
|
|
|
|
|
"Debug" and "Release" are just names given to the default solution build configurations. Each refers to a set of options that are used to build your solution with proper support for what your build needs at the time. Check out the top link on this[^] page for more information.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Hi, ive have been using an assembly in my project and have just tried to use a newer version of the assembly and i get this error.
Could not load file or assembly 'eBay.Service, Version=3.1.2090.38214, Culture=neutral, PublicKeyToken=c7506f8c5fa78874' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
what is the best way to go about specifing that a new version of the assembly is in my project?
an answer with clear steps would be very much appreciated
|
|
|
|
|
is this the right kind question to ask this forum?
really stuck on this one, any help would be great
|
|
|
|
|
If you want to upgrade an assembly after building/deploying your project, you can add a binding redirect section to your application's config file. Look at the documentation for <assemblyBinding> and <bindingRedirect>, there are good examples.
Hope this helps,
Tim
|
|
|
|
|
Your company has developed a message board system that is being used by hundreds of web sites. The licensing model gives away the software for free but produces recurring revenue by charging ten cents per unique user that posts on the board. You have been tasked with developing a billing system that can determine in real-time the accounts-receivable per customer for all customers. Explain how your system works and why it’s a good solution for providing real-time information.
|
|
|
|
|
Class assignment? Job interview? Exam question?
---
b { font-weight: normal; }
|
|
|
|
|
|
I thought you answered Interview to the other posters question...
Soooo, you want us to answer an Interview question for you so you can get a job, for which you can't answer this question yourself. Soooo, if you can't answer this question, what makes you think you're qualified for the job?
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
tejuarora wrote: please answer to this ..... any ideas
Your subject line is useless - it should tell the reader something about the problem you are having. Many people skip posts like this because their time is scarce and they don't want to waste it on someone that can't even put a decent subject line.
Perhaps "message board system design problem" or "billing system design problem" or "I need someone to do my homework for me"
|
|
|
|
|
PlayByTheRules wrote: "I need someone to do my homework for me"
That one will really get people's attention not to answer it
|
|
|
|
|
Here is the thing:
I reflect a class library assembly and instance a object without problems, but when I use a System.Configuration.AppSettingsReader object (to get the reflected module config), the readed config is the one of the Main app and not the one of the class library assembly.
Any idea on how to solve this?
I'm using .Net 2.0
Thanks
I'm on a Fuzzy State: Between 0 an 1
|
|
|
|
|
I solved myself:
private void CreateSchedule()
{
System.Reflection.Assembly ASM = System.Reflection.Assembly.GetExecutingAssembly();
System.IO.FileInfo FileInfo = new System.IO.FileInfo(ASM.Location + ".config");
System.Xml.XmlDocument XmlDocument = new System.Xml.XmlDocument();
XmlDocument.Load(FileInfo.FullName);
string Value;
foreach (System.Xml.XmlNode Node in XmlDocument.SelectNodes("configuration/appSettings/add"))
{
Value = Node.Attributes.GetNamedItem("value").Value;
switch (Node.Attributes.GetNamedItem("key").Value)
{
case "XXXXXXX":
// My code here
break;
case "YYYYYYY":
// My code here
break;
default:
break;
}
}
}
I'm on a Fuzzy State: Between 0 an 1
|
|
|
|
|
Hello!
I use DocumentText property to display my web content. If it contains image then webBrowser doesn't display it.
How can I display images with using DocumentText property ?
Thanks for help.
Sebastian.
|
|
|
|
|
Hi ,
I want to do error logging in my application.Performance wise which one is better : File i\o or Event log write?
Best Rgds,
Leena
***************************************************
"Before you start some work, always ask yourself three questions -
Why am I doing it, What the results might be and Will I be successful.
Only when
you think deeply and find satisfactory answers to these questions, go
ahead."
Chanakya quotes (Indian politician, strategist and writer, 350 BC-275
BC)
***************************************************
|
|
|
|
|
FileIO should be faster. You should consider using an existing logging component like log4net[^]. You will safe a lot of work this way.
|
|
|
|
|
File I/O should faster than any other method (it has his backwards). You can use MS Enterprise Library to switch between the destiny of the log by modifying the config.
I'm on a Fuzzy State: Between 0 an 1
|
|
|
|
|
How can I get the window's or mouse's position in desktop in WPF ?
|
|
|
|
|
How can I get the window's or mouse's screen position in desktop in WPF ?
|
|
|
|
|
|
Windows Presentation Foundation - part of .NET Framework 3.0. It's a new UI platform.
|
|
|
|
|
I try to convert my project from version 1.1 to version 2.0 and using VB.NET.
When I run my project in VS 2005, I get this error:
Visual Studio cannot start debugging because the debug target 'C:\Projects\SCM\bin\SCM.exe' is missing. Please build the project and retry, or set the OutputPath and AssemblyName properties appropriately to point at the correct location for the target assembly.
Any ideas for error message above ??
angela
|
|
|
|
|
Have you checked the upgrade log for your project for any messages? Has the project been rebuilt successfully? Is the account you're logged in under a member of the Debugger Users group?
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|