|
hi
does anybody take a refrence of how to use Sql Server 2005 Reporting Services in VC# 2005 ?
thanks
|
|
|
|
|
I've recently re-realized that the File Types editor for deployment projects is a POS. Associating an EXE with a file type instead of with individual commands makes no damn sense. So, to have two commands on one file type, each using a different EXE, I have to create registry entries for the second manually.
Problem is, I need to insure that the value dumped into that registry key is sensative to where they choose to install. I could swear that some time ago I saw a list of deployment project variables that could be used, like the [Manufacturer] variable. But I can't find it, and I don't know that they work in registry values.
Does anybody know what all the variables are? And if they can be used in a registry value?
|
|
|
|
|
Just in case anybody cares... Don't know what all is available, but [TARGETDIR] works. But it is case sensative.
|
|
|
|
|
hi
how to use callback to Update progressbar for long operation ?
|
|
|
|
|
Is the operation running in a background thread on the server? Then you can just make the operation store it's status in a database or something, so that you can send a request that will get the status and return it.
If the operation is the current request, then you can't use callback, as the server will only execute one request at the time for each user.
---
b { font-weight: normal; }
|
|
|
|
|
Hy, i have to create a xml from a single dll. I have to list all methods and properties from all classes from that dll, but i dont know how to do it. I know its with Instrospection, but dunno how to do this. Pls, help me
thx a lot
|
|
|
|
|
What do you mean by "create a xml"? An XML file? Containing what?
|
|
|
|
|
I need to create an xml file containing all specific dll methods and properties. Thats what i need.
thx a lot
|
|
|
|
|
|
You've asked this question twice before, and gotten the correct answer from Colin here[^], using Reflection. Asking the question again and again will not change the answer and noone is going to write the code for you.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
|
Hi
Maybe xsd utility can help you do what you want to do.
There is a utility included in VS2003 (I think it should be in VS2005 too) name XSD.exe that can generate a xsd schema from a dll or a xml file and also it can generate classes according to a provided xsd schema.
Regards
|
|
|
|
|
I'm working on a hexeditor that uses 32bit and 64bit offsets (for files over 4GB), problem is the scrollbar only accepts int values, where I want each value to be a row of hex, so the maximum would be long.MaxValue / 0x10. What's the best option to deal with this? I'm thinking the only options are creating my own scrollbar, or shrinking the value, however if the value is shrunk I want to do it cleverly, so smaller files won't have massive steps in the scrollbar.
|
|
|
|
|
Thanks for your help at first!
Now I'm confusing about the directions which I should choose!
I'm a senior student and have some experieces about C++ language.
Recently Micorsoft produces the Visual Studio 2005,and the C++/CLI is extremely diffrent from the standard C++.And I also learned that the MFC is numbered her days! When I want to learn the Visaul Studio 2005 development,Which direction will be my best choice.C# OR Visual C++.NET?
And could you recommend some wonderful books that will lead me comfortable to the world of Visual Studio 2005(I have no experieces in windows programming!).
|
|
|
|
|
go fo c++/cli if you know the basic concepts than using c# java vb.net etc will be a matter of few days (they all share oops and have diffrent syntax ) so go for concepts not syntax
It is Good to be Important but!
it is more Important to be Good
|
|
|
|
|
wanlim0817 wrote: (I have no experieces in windows programming!).
Then you don't know MFC, and have nothing to lose there, I guess.
I'd go with C#, because that's far more widely used, so you'll f ind a lot more resources out there.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
C# appears the way to go at the moment. I've been a C++ developer for 10 and I've been trying to get into C# development for the last 3. In about 3 weeks I'll be starting a new job that's pure C#, no C++! Can't wait. The best advice I can give you is keep an eye on the job market, see what's in demand. Even though I'm going C# I'll be keeping my C++ development skills active, I don't want to lose them - you never know when they'll come in handy and get me a nice contact or something!
Never argue with an imbecile; they bring you down to their level, and beat you with experience.
|
|
|
|
|
How i can Remove Repeat Value in ArrayList ?
|
|
|
|
|
You can sort the ArrayList, then the duplicate values will be next to each other so that you easily can find them.
Depending on what you use the list for, it might be much easier to remove the duplicate values before they even end up in the ArrayList. If you for example get the values from a database, it's much easier to just not fetch the duplicate values at all.
You can use a Hashtable to make it easier to determine if a value already exists in the list.
---
b { font-weight: normal; }
|
|
|
|
|
You could do something like this :
<br />
<br />
void Main(string[] args)<br />
{<br />
<br />
ArrayList ar = new ArrayList();<br />
ar.Add(5);<br />
ar.Add(2);<br />
ar.Add(6);<br />
ar.Add(5);<br />
ar.Add(8);<br />
ar.Add(9);<br />
ar.Add(1);<br />
ar.Add(1);<br />
ar.Add(9);<br />
ar.Add(5);<br />
RemoveDuplicates(ar);<br />
}<br />
<br />
void RemoveDuplicates(ArrayList ar)<br />
{<br />
ar.Sort();<br />
for (int i = ar.Count - 1; i > 0; i--)<br />
{<br />
if (ar[i].Equals(ar[i - 1]))<br />
{<br />
ar.RemoveAt(i);<br />
}<br />
}<br />
}<br />
---
"Drawing on my superior command of language I said nothing."
|
|
|
|
|
Hi,
I have write a simple application only to understand the Select command, but it doesn't work well.
In my application i have 3 button. When I click button 1 i disable button 1 and 2. When I click on button3 i reanable button 1 and 2 and want to select button 1 again.
The code (without the designer part) i wrote is the following:
<br />
using System;<br />
using System.Collections.Generic;<br />
using System.ComponentModel;<br />
using System.Data;<br />
using System.Drawing;<br />
using System.Text;<br />
using System.Windows.Forms;<br />
<br />
namespace WindowsApplication1<br />
{<br />
public partial class Form1 : Form<br />
{<br />
public Form1()<br />
{<br />
InitializeComponent();<br />
}<br />
<br />
private void button1_Click(object sender, EventArgs e)<br />
{<br />
button1.Enabled = false;<br />
button2.Enabled = false;<br />
}<br />
<br />
private void button3_Click(object sender, EventArgs e)<br />
{<br />
button1.Enabled = true;<br />
button2.Enabled = true;<br />
button1.Select();<br />
}<br />
}<br />
}<br />
What should i do to solve this problem?
Best Regards
Ciao
Rudy Barbieri
|
|
|
|
|
It works. I didn't see any problem. After clicking button3, the selection is back to button1.
|
|
|
|
|
try to put other buttons on the from, put you code not in the first
buttons ...., it will not work
When you get mad...THINK twice that the only advice
Tamimi - Code
|
|
|
|
|
Use Focus instead of select
button1.Focus()
Saqib
|
|
|
|
|
how do i draw a point(x,y) on a form??
rzvme
|
|
|
|