|
This question is about Inno Setup, so this isn't the right place to ask this question. I will say, though, that your error might be related to the semicolon after plugin.dll. Try removing it.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
I'd say you have misplaced the first semi-colon in
Source: "ftp://myftpserver/plugin.dll;" DestDir: {app}\Plugins; Flags: ignoreversion; Components: Stubs\Plugin
as well as the entire message.
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
I only read formatted code with indentation, so please use PRE tags for code snippets.
I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).
|
|
|
|
|
My program is in C#
I didn't found forum about Inno Setup
Source: "ftp://myftpserver/plugin.dll" DestDir: {app}\Plugins; Flags: ignoreversion; Components: Stubs\Plugin
Error: Mismatched or misplaced quotes on parameter "Source"
Source: ftp:
Error: Required paramter "DestDir" not specified.
Source: 'ftp://myftpserver/plugin.dll'; DestDir: {app}\Plugins; Flags: ignoreversion; Components: Stubs\Plugin
Error: Unknown filename prefix "'ftp:"
Source: "ftp://myftpserver/plugin.dll"; DestDir: {app}\Plugins; Flags: ignoreversion; Components: Stubs\Plugin
Error: Unknown filename prefix "ftp:"
|
|
|
|
|
That is pretty clear; the first two tell you "I don't understand what you want", whereas the last two are saying "I can't do that". Most programs can't access remote files over FTP. Do you think Notepad would be able to?
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
I only read formatted code with indentation, so please use PRE tags for code snippets.
I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).
|
|
|
|
|
Hello, I need of graphic objects (for example panel, picture box, etc..) that they can free-moving on a Form used the mouse and when these objects are a short distance, they must hook up each other like a magnet. For example, we can use two panel on a Form (panel 1 and panel 2). Panel 1 is on the left of Form and panel 2 is on the right of Form. If I push the bottom left of the mouse on the panel 1, I can move panel 1 to panel 2. When panel 1 is a distance of 10 pixel from panel 2, the right border of panel 1 will hook up to left border of panel 2, like a magnet.
|
|
|
|
|
There is nothing out of the box that will do this. You're on your own. The closest functionality for comparison would be the snap to grid feature in the designer. Is this a standard winform or WPF?
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
|
Hi folks,
I'm trying to implement some kind of map feature to my winform application, and in my search I have seen on the following possibilities:
- Google Maps
- Bing Maps
I found that Bing maps perhaps was the closest choice, since I was developing in Visual C#. But, I have searched and searched, and both on MSDN and in this CP-article (a little Virtual Earth Control[^]) there is no explanation on how to start, and add the correct .dll reference?
Can any1 help how I registere the right place, and download the RIGHT .dll for using AJAX bing maps controls? I think thats the only thing, stopping me in developing a map feature in a webbrowser control, to my C# winforms application
|
|
|
|
|
I'd suggest you use the Bing Maps WinForm control from CodePlex: http://bingmapscontrol.codeplex.com/[^]
The project has a few videos that will show you how to get started with the control and you should be able to get up and running pretty quickly with it.
John Wiese
ISV Architect Evangelist - Microsoft
TWITTER: @johnwiese
BLOG: http://blogs.msdn.com/usisvde
|
|
|
|
|
Thank you, I'll study it and re-open the question if it wasn't enough
|
|
|
|
|
Hi all,
I've got a struct which I'm controlling the Marshalling of using
[StructLayout( LayoutKind.Explicit, Size = 32)]
However I've found that while Marshalling it to a byte[] on a desktop XP machine produces the expected 32 bytes, on an ARM-based WinCE machine it only produces 28 bytes.
How can I get consistent Marshalled byte sizes across platforms, and why doesn't the WinCE .NET CF Marshal it the way I've specified?
TIA
|
|
|
|
|
MSDN on StructLayout.Size is a bit bizarre. It holds a remark "This field must be equal or greater than the total size, in bytes, of the members of the class or structure. This field is primarily for compiler writers who want to extend the memory occupied by a structure for direct, unmanaged access. For example, you can use this field when working with unions that are not represented in metadata directly."
Which one can read as: the actual size should not exceed the specified size value.
Therefore I recommend that you consider adding dummy members to your struct to obtain the exact size you want.
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
I only read formatted code with indentation, so please use PRE tags for code snippets.
I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).
|
|
|
|
|
|
you're welcome.
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
I only read formatted code with indentation, so please use PRE tags for code snippets.
I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).
|
|
|
|
|
It's still a bit rubbish that they give you the ability to specify how the conversion is handled, but then ignore it if they feel like. Oh well, it's working fine with padding.
|
|
|
|
|
There is a Listview in Form1, named "listview1", I try to add a item from Form2, it doesn't work. But no error prompts were given.I have changed the type to "public" for listview1.
In Form2, the code is:
ListViewItem li = new ListViewItem();
li.SubItems.Clear();
li = new ListViewItem(new string[] {"Richard","28","Male"});
Form1 form1 = new Form1();
form1.listView1.Items.Add(li);
It passed successfully without errors, but the listview1 did nothing. where does the problem lie in? Thanks.
|
|
|
|
|
imbiz wrote: Form1 form1 = new Form1();
There is your problem. Do you know what new means? It means: create another instance of Form1, i.e. a second Form1 looking very much like the first, but not visible as you did not call Show() on it. You do not want another Form1, you want the original one. So pass a reference, do not use new here.
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
I only read formatted code with indentation, so please use PRE tags for code snippets.
I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).
|
|
|
|
|
But how to use listview1 in Form1 directly? It seems we can't use "Form1.listview1.Items..." in Form2.
modified on Tuesday, June 8, 2010 8:52 AM
|
|
|
|
|
One method to look at would be to use an event in Form2 and subscribe to it from Form1. This event would be used to notify Form1 that there was a new value that needs adding to the listview.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
Thank you , but I'm still puzzled.
|
|
|
|
|
Why? Have a look in this[^] article for some help.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
I found another way.
I simply changed the type of listview1 in Form1 to "Public Static", now I can update the data in Form2.
Of course this is against the principle of "OO(Object Oriented)".
I will read that article you give me, maybe use of delegate is the best choice,thank you.
|
|
|
|
|
Hi,
I am a newbie to .NET.
I need to design an IP address control.
I can design a control on my own with edit boxes.
But before that i want to confirm whether we have any default IP address control in VS2008. I could not find it in the Tool box.
Do we have any default IP address control in VS2008 or 2010?
Thanks.
Selva
|
|
|
|
|
SelvaKr wrote: Do we have any default IP address control in VS2008 or 2010?
No. There's not one supplied by default.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|