|
You're a special kind of stupid, aren't you...
.45 ACP - because shooting twice is just silly ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001
|
|
|
|
|
I don't answer questions that ignore the forum guide lines.
|
|
|
|
|
So you post a PHP programing job advert on a C# code questions forum. Like DUH!
Try posting on RentACoder.com or similar.
|
|
|
|
|
Yeah, because it IS impossible! There is no way to get at the hidden bidders list because it is never sent to anyone and you're code will not be able to get at ebay's database server to find out either.
|
|
|
|
|
First of all, you're in the wrong forum. Next, I don't think that eBay works that way. If a bidder is hidden, I doubt you could do much to bypass that. Finally, you need to post snippets of code and help with debugging, not ask for an entire program.
|
|
|
|
|
do you know someone who can help me with this program ?? I really need it
Regards
|
|
|
|
|
Go visit this site[^]
"Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something." Robert Heinlein
|
|
|
|
|
totolcm wrote: I really need it
Not true, you want it, but nobody needs such a program, especially for a criminal enterprise.
MVP 2010 - are they mad?
|
|
|
|
|
No. Even if I did, I wouldn't allow myself to sell or give it to you - it's either illegal or incredibly immoral. I refuse to deliberately invade somebody's privacy when they have explicitly indicated that they do not want to be known.
|
|
|
|
|
You can only check bidder ids/emails for your own listings. There is no way the APIs are going to let you get to that info for somebody else's items. The eBay developers program http://developer.ebay.com/[^] has lots of examples to get you going.
|
|
|
|
|
Your post breaks more of the guidelines for this forum than I have seen in any single post for a long while.
I also love the fact you posted you e-mail on a public forum, so will any spambots knocking around.....
CCC solved so far: 2 (including a Hard One!)
37!?!! - Randall, Clerks
|
|
|
|
|
Go away.
“Follow your bliss.” – Joseph Campbell
|
|
|
|
|
So, you HAD to post this in 14 different forums here on CP?? You don't know how any sites like this work, do you, let alone web sites and the internet in general. Posting the same question in so many forums on the same site is only going to get you flamed.
It's nice that you posted your public email for every spambot to see. Have fun sorting through all the junk email you're going to get.
|
|
|
|
|
Hi All,
I was wondering if anyone could direct me...
I am using Visual C# 2008, and I would like to create a setup/installer for my one program. I know that VS has a template to let one do this.
If anyone knows where I can get a template like that for Visual C# Express Edition, Please let me know. I will be really grateful.
Thanx
|
|
|
|
|
Hi,
afaik VC# Express does not have such a template. You might use standard or prof edition for that
bye
|
|
|
|
|
I was afraid of that...
Thanx though
|
|
|
|
|
You can use 'Click Once' from express editions but not a full blown stand alone installer - it's one of the things they leave out. You can use third party tools if click once isn't enough for your needs, or buy a Visual Studio version.
Dave
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn) Why are you using VB6? Do you hate yourself? (Christian Graus)
|
|
|
|
|
|
You could use WiX[^], which is an open source installer package. You may not need an installer at all. You should be able to just deploy the /bin/release folder, if the target machine has the correct version of the .net framework.
|
|
|
|
|
hello everybody i have one csharp .net code that selects multiple images.
string[] extensions = new string[] {"jpg", "gif", "bmp", };
foreach (string extension in extensions)
{
FileInfo[] FileJpg = FileDirectory.GetFiles(string.Format("*.{0}", extension));
foreach (FileInfo File in FileJpg)
{
ImageList.Add(File.Name, File.FullName);
checkedListBox1.Items.Add(File.Name);
}
}
and a second code that performs rotation on one image.
namespace ImageRotation
{
public partial class Form1 : Form
{
private Image loadedImage;
public Form1()
{
InitializeComponent();
}
private Image RotateImage(Image inputImg, double degreeAngle)
{
PointF[] rotationPoints = { new PointF(0, 0),
new PointF(inputImg.Width, 0),
new PointF(0, inputImg.Height),
new PointF(inputImg.Width, inputImg.Height)};
PointMath.RotatePoints(rotationPoints, new PointF(inputImg.Width / 2.0f, inputImg.Height / 2.0f), degreeAngle);
Rectangle bounds = PointMath.GetBounds(rotationPoints);
Bitmap rotatedBitmap = new Bitmap(bounds.Width, bounds.Height);
using (Graphics g = Graphics.FromImage(rotatedBitmap))
{
g.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality;
g.InterpolationMode = InterpolationMode.HighQualityBicubic;
Matrix m = new Matrix();
m.RotateAt((float)degreeAngle, new PointF(inputImg.Width / 2.0f, inputImg.Height / 2.0f));
m.Translate(-bounds.Left, -bounds.Top, MatrixOrder.Append);
g.Transform = m;
g.DrawImage(inputImg, 0, 0);
}
return (Image)rotatedBitmap;
}
private void trackBar1_Scroll(object sender, EventArgs e)
{
if (loadedImage != null)
pictureBox1.Image = RotateImage(loadedImage, (double)tRotation.Value);
pictureBox1.Refresh();
}
private void btnLoad_Click(object sender, EventArgs e)
{
if (openFileDialog1.ShowDialog() == DialogResult.OK)
{
try
{
loadedImage = Image.FromFile(openFileDialog1.FileName);
pictureBox1.Image = loadedImage;
tRotation.Value = 0;
}
catch (Exception)
{
MessageBox.Show("Image invalid.");
}
}
}
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
System.Diagnostics.Process.Start("http://www.vcskicks.com/");
}
}
public static class PointMath
{
private static double DegreeToRadian(double angle)
{
return Math.PI * angle / 180.0;
}
public static PointF RotatePoint(PointF pnt, double degreeAngle)
{
return RotatePoint(pnt, new PointF(0, 0), degreeAngle);
}
public static PointF RotatePoint(PointF pnt, PointF origin, double degreeAngle)
{
double radAngle = DegreeToRadian(degreeAngle);
PointF newPoint = new PointF();
double deltaX = pnt.X - origin.X;
double deltaY = pnt.Y - origin.Y;
newPoint.X = (float)(origin.X + (Math.Cos(radAngle) * deltaX - Math.Sin(radAngle) * deltaY));
newPoint.Y = (float)(origin.Y + (Math.Sin(radAngle) * deltaX + Math.Cos(radAngle) * deltaY));
return newPoint;
}
public static void RotatePoints(PointF[] pnts, double degreeAngle)
{
for (int i = 0; i < pnts.Length; i++)
{
pnts[i] = RotatePoint(pnts[i], degreeAngle);
}
}
public static void RotatePoints(PointF[] pnts, PointF origin, double degreeAngle)
{
for (int i = 0; i < pnts.Length; i++)
{
pnts[i] = RotatePoint(pnts[i], origin, degreeAngle);
}
}
public static Rectangle GetBounds(PointF[] pnts)
{
RectangleF boundsF = GetBoundsF(pnts);
return new Rectangle((int)Math.Round(boundsF.Left),
(int)Math.Round(boundsF.Top),
(int)Math.Round(boundsF.Width),
(int)Math.Round(boundsF.Height));
}
public static RectangleF GetBoundsF(PointF[] pnts)
{
float left = pnts[0].X;
float right = pnts[0].X;
float top = pnts[0].Y;
float bottom = pnts[0].Y;
for (int i = 1; i < pnts.Length; i++)
{
if (pnts[i].X < left)
left = pnts[i].X;
else if (pnts[i].X > right)
right = pnts[i].X;
if (pnts[i].Y < top)
top = pnts[i].Y;
else if (pnts[i].Y > bottom)
bottom = pnts[i].Y;
}
return new RectangleF(left,
top,
(float)Math.Abs(right - left),
(float)Math.Abs(bottom - top));
}
}
}
can somebody help me to work this code for mutiple images that i have selected.Thanking u in advance.
|
|
|
|
|
First of all, you don't need such complex code for image rotation. There's a code snippet here[^] which will do the job just as well. Secondly, your problem is that you need to progress from filepath to image. Image.FromFile will fill your gap here, making the pseudocode something like this:
for each extension in extensions
{
for each file found with extension
{
Image img = Image.FromFile(file);
img = rotateImage(img);
//continue work here
}
}
|
|
|
|
|
can someone elaborate more on this.............
|
|
|
|
|
Hi,
I am developing one application in that one parent form is there if i click on button it will open child form. Now i want to transfer data from child form to textbox in parent form.
I have tried the following code.
private string childMessage;
ChannelingServices.Cs(Parent)
public string ChildMessage
{
get { return childMessage; }
set { childMessage = value; }
}
public void UpdateMessage()
{
doctorid = ChildMessage;
txtDoctorId.Text = doctorid; //This is the destination textbox
}
private void btngetchilddata_Click(object sender, EventArgs e)
{
DoctorSearchWizard doctorsearch = new DoctorSearchWizard();
doctorsearch.Show();
this.Close();
}
DoctorSearchWizard.Cs(Child)
private void btnapply_Click(object sender, EventArgs e)
{
ChannelingServices.ChildMessage = txtdata.Text;
ChannelingServices.UpdateMessage();
}
But while debugging its UpdateMessage method showing value in textbox but after execution in form it doesn't contains any value in textbox.
Please tell me how to solve this problem.Or can you please suggest me how to pass data from child to parent textbox in form.
Thanks&Regards
Pavani
|
|
|
|
|
Hey there Pavani
You can do that using events quite easily, heres my Artice[^] on the subject.
The example program does exactly what you need, pass values from the child form to the parent.
Hope this helps
Harvey Saayman - South Africa
Software Developer
.Net, C#, SQL
you.suck = (you.Occupation == jobTitles.Programmer && you.Passion != Programming)
1000100 1101111 1100101 1110011 100000 1110100 1101000 1101001 1110011 100000 1101101 1100101 1100001 1101110 100000 1101001 1101101 100000 1100001 100000 1100111 1100101 1100101 1101011 111111
|
|
|
|
|
Hi Harvey Saayman,
Thanks a lot for your valuable response.I solved my problem through your article.Its working fine now.
|
|
|
|