|
I also need to know how to populate the DataGrid for the first time =(
regards
Fratelli
|
|
|
|
|
Hi, forum.
I have several shapes (circles, triangles e.t.c) on the form in my C# project. I'd like to connect these shapes by something like progress bar control to show some "data flow" from shape 1 to shape 2 in dead cycle. Is there any solution to draw polyline- or curved-progress bar, not only straight one? Or some other control (not progress bar) to display "data flow" between shapes.
MS Visual Studio 2008, WinForm project.
Best regards, Vladimir.
|
|
|
|
|
Not sure if there is a control like this. If there is none, I would drawing images\curves in the paint event to show data transfer.
It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD
modified on Saturday, September 19, 2009 1:48 PM
|
|
|
|
|
I do not know of any non-straight progress bar control.
However there is nothing to stop you drawing a curve between the items with an arrow head to indicate the direction of flow (EndCaps property, I believe). If you really want to show that flow is happening, you could convert the curve to a GraphicsPath . There are methods in that class to add points and you could then draw a '>' shape at each of those points, erasing the previous one first of course, using rotation/transformation to match it to the angle of the curve at that point.
Just a thought.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Thanks a lot, Henry!
That's the way I will dig.
|
|
|
|
|
Hi folks, Please provide an example showing how to copy data on a daily basis into mssql server from crm using webservices(a scenario which uses only c#.net and another scenario that uses only SSIS) both scenarios would also work. If any specific example related to Eloqua API/Salesforce.com crm would be helpful if not then any crm's example would work. Thank you
|
|
|
|
|
If you want something like this written for you, you should try a site like Rentacoder.com, or even Code Project's own job board. Be careful however, some people bid on those sites, for work they cannot do, and then post their jobs here and hope we will do them for them. I pity the people stupid enough to fall for such a scam, but it happens.
If you want to do it yourself, then you should do some research, and ask *specific* questions, with code samples, to show that you've tried to do sometime more than ask us to work for you for free.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Hi!
I am new to c# mobile application programming subject. I want to implement simple client(on PDA)/server(on Laptop) application that converts lowercase letters that are sent by the client to uppercase letters and sends back to the client by the server.
socketForServer = new TcpClient();
socketForServer.Connect("ip address of laptop",port number);
textBox1.Text = "connected ";
socketForServer.SendTimeout = 50000;
networkStream = socketForServer.GetStream();
streamReader = new StreamReader(networkStream);
streamWriter = new StreamWriter(networkStream);
according to the given code the network stream stays null so I can not read or write anything to/from the server. could you help me how can I solve this problem ? or could you recommend me better solutions ?
thanks a lot.
|
|
|
|
|
I don't know how take ownership in registry... from other owner(TrustedInstaller) to Administrators.
Not just for in C#, any other solution. For example, regini.exe or something commandline scriptor.
(but not by manually clicking in regedit.exe..)
If you have any idea, please help me out.
|
|
|
|
|
Am still having the same challenge. Any help
|
|
|
|
|
Hi,
I want to change the back color of a row when i click on it (untill here i succeed),
but when i re-order by some row (after i've changed the row's color)
i want the same row will show the color (by value and not by row's number).
10x alot...
|
|
|
|
|
How are you setting the back color? I guess through indices.
Try using CurrentRow property instead to set the back color.
It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD
|
|
|
|
|
Why am I getting this exception here?
if (Session["privilegios"] == null)
Isn't this the way its supposed to check for null?
Best regards
Fratelli
|
|
|
|
|
Looks like Session itself is null
Suggestion:
if (Session == null || Session["privilegios"] == null)
|
|
|
|
|
Yes, I already know what the problem is. For further reference: I had something like this
[WebMethod(EnableSession = true)]
public int method_1()
{
...
}
[WebMethod]
public int method_2()
{
}
The thing is: If I call method_2, apperently, "Session" will still be null in method_1. I already have a previous post asking how to access "Session" variables in a non-WebMethod method.
Regards
Fratelli
|
|
|
|
|
Ok
Now I know less than I thought I did, I don't know anything about web methods (until now I didn't even know they existed)
|
|
|
|
|
Hi
In my windows application i want to compare two videos For example X and Y are the two video clips X is the original video and Y has merge the X video with Some video clips like below
input
X=abcd
Y=mnoabcde
output
Z =abcd
if the video has same content the Application shld
indicate the similar Clips
I dont know how to compare the Video files
please guide me
Thanks in Advance
modified on Saturday, September 19, 2009 8:42 AM
|
|
|
|
|
Mads115 wrote: Thanks in Advance
For what? You didn't ask a question, you just uttered a wish
Do the video's contain tags that describe them? Or do you want to compare it based on other properties, such as sound-volume and hue?
I are Troll
|
|
|
|
|
I want to know how compare the Video files
|
|
|
|
|
What do you want to compare exactly? The size, the filename, the number of colors used, the content?
I are Troll
|
|
|
|
|
if the two videos has similar clip it shld indicate it
|
|
|
|
|
Define "similar". Are two video's similar if they feature the same people, or are they similar if two different people do the same thing?
All fun aside; a computer cannot "guess" what is happening in a video. You can compare properties, like length and sound. You can evaluate differences between individual frames, or even try to interpret a single frame (face recognition, OCR etc).
But no, there is no easy way to compare the content of two video's that I'm aware of.
I are Troll
|
|
|
|
|
Dear All,
I have got 6 projects in one solution, I can create Msi package for that solution.
any ideas how to make a single setup for whole solution using click once deployment.
Note: projects within the solutions are not related to each other (2 of 6 projects)
Abdul Rahaman Hamidy
Database Developer
Kabul, Afghanistan
|
|
|
|
|
Problem
WPF Project (VS 2008)
I'm using a ListView (with GridView) bound to an ObservableCollection. The collection includes a DateTime field.
When I populate the collection, the DateNR field is often null, but then the ListView displays a date of "01-Jan-01"!!
How do I stop this as I don't want the user to see a date when there shouldn't be one. I need the DateNR field in the collection to be a DateTime value not a string because this column is used for sorting.
Any ideas would be welcome. thanks
<code>
public class RecordData
{
public int ID { get; set; }
public DateTime DateNR { get; set; }
}
Adding GridView Column
GridViewColumnHeader gvch = new GridViewColumnHeader();<br />
GridViewColumn gvc = new GridViewColumn();<br />
Binding bind = new Binding("DateNR");<br />
bind.Converter = new FormattingConverter();<br />
bind.ConverterParameter = @"{0:dd-MMM-yy}";<br />
gvc.Width = 80;<br />
gvc.DisplayMemberBinding = bind;<br />
gvch.Content = "NR Date";<br />
gvc.Header = gvch;<br />
myGridView.Columns.Add(gvc);
Populate Collection
SqlConnection sqlConn = new SqlConnection(myConnectionString);<br />
SqlCommand sqlComm = new SqlCommand("...", sqlConn);<br />
SqlDataReader sqlDR = sqlComm.ExecuteReader();<br />
RecordData rd = new RecordData();<br />
rd.ID = sqlDR.GetInt32(0);<br />
if (sqlDR.IsDBNull(1) == false)<br />
rd.DateNR = sqlDR.GetDateTime(1);<br />
_MyCollection.Add(rd);
|
|
|
|
|
b4ip wrote: WPF Project (VS 2008)
We have a dedicated WPF Forum [^]at CP.
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|