|
The Brazilian One wrote: I have a picturebox and I want that when the user scroll the mouse, the Picture act like this.
You want the picture to do what?
|
|
|
|
|
I want that it scrolls on the screen... Up and Down...
Thanks..
Cheers
|
|
|
|
|
Let me explain...
I have a Panel and inside it, a PictureBox...
The Panel is set as "auto-scroll"...
I want that when the user scroll the mouse, the pic moves inside the panel..
well, that`s it...
=D
thanks all!
|
|
|
|
|
Put a panel on your form. Set it's AutoScroll property to true. Then place the picture box in there. When you set the image for the picture box, set the size of the picture box to the same size of the image. The scrollbars will appear automatically, and the mouse wheel should automatically scroll, no code required.
|
|
|
|
|
But the mouse wheel didn`t automatically scroll!!
=/
|
|
|
|
|
|
Application has encountered a problem and needs to close.
1. My code debugs and runs perfectly fine.
2. I publish my application to a shared file server.
3. I log on to the target machine and browse to the folder I published my application files.
4. I click the setup.exe
5. It begins verifying application requirements.
6. Are you sure u want to install this application dialog pops up - Install or Don't Install button
7. I click the install button.
8 Acts as if it begins to install then Error -
{APPLICATION NAME} has encountered a problem and needs to close. We are sorry for the inconvience..
9. Button that says Send Error Report and button that says Dont Send
10. Also hyperlink on form that says "What data does this error report contain"
11. If i click the link gives me some wierd information - keywords in the info below
Event Type: clr20r3 Mscorlib system.io.directorynotfound
It does not tell me what the problem is.
I am clueless. can somebody help me please.
1.0 and 2.0 .net framework installed on target machine.
Thanks in advance
Kourvoisier
|
|
|
|
|
It looks as though the directory it is attempting to install into doesn't exist.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
anyone have any ideas of what to do next. I am pretty much at a stand still at this point!!!
|
|
|
|
|
Between steps 3 and 4 do you drag setup.exe to the target machine? Or are you just clicking on it out of the file server?
If no: Perhaps your file server doesn't have .NET installed on it. It will not be able to locate the .NET CLR on the target machine.
Brent
Brent
|
|
|
|
|
I do not drag the setup.exe to the target machine. I simply click it str8 from the file server.
The .net framework is not installed on the file server.
Do you think this may be the problem?
I have published other .net applications to this server and installed on multiple target cpu's without any issue.
I do have a app.config file with a hardcoded file path. Do you think this could be the issue?
although i dont think may be the issue either.
below is my app.config
<?xml version="1.0" encoding="utf-8" ?><br />
<configuration><br />
<br />
<configSections><br />
<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" ><br />
<section name="Navision_Add_On.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /><br />
</sectionGroup><br />
</configSections><br />
<appSettings><br />
<br />
<add key="WorkingDirectory" value="C:\Navision_Plug" /><br />
<br />
</appSettings><br />
<br />
</configuration>
|
|
|
|
|
I also get errors trying to run a .NET app from a file server. But I have always been able to drag the same executable to the desktop, double click it and it runs just fine. I would recommend you add this to your process.
Brent
|
|
|
|
|
Brent,
I drag the setup.exe to the desktop along with the other files that it needs double click on the target computer and the same exact error happens.
|
|
|
|
|
Application has encountered a problem and needs to close.
1. My code debugs and runs perfectly fine.
2. I publish my application to a shared file server.
3. I log on to the target machine and browse to the folder I published my application files.
4. I click the setup.exe
5. It begins verifying application requirements.
6. Are you sure u want to install this application dialog pops up - Install or Don't Install button
7. I click the install button.
8 Acts as if it begins to install then Error -
{APPLICATION NAME} has encountered a problem and needs to close. We are sorry for the inconvience..
9. Button that says Send Error Report and button that says Dont Send
10. Also hyperlink on form that says "What data does this error report contain"
11. If i click the link gives me some wierd information - keywords in the info below
Event Type: clr20r3 Mscorlib system.io.directorynotfound
It does not tell me what the problem is.
I am clueless. can somebody help me please.
Thanks in advance
Kourvoisier
|
|
|
|
|
Try reinstalling the .NET framework on the target machine.
|
|
|
|
|
This cant be the problem.
I have tryed to deploy on multiple cpu's with .net framework installed still run into same problem.
|
|
|
|
|
kourvoisier wrote: Event Type: clr20r3 Mscorlib system.io.directorynotfound
This error makes me suspect that you've got hard coded paths in your installer somewhere and that the configuration on your devbox is different than on the target machines.
--
CleaKO The sad part about this instance is that none of the users ever said anything [about the problem].
Pete O`Hanlon Doesn't that just tell you everything you need to know about users?
|
|
|
|
|
I have actually published the files directly to the target machine by passing the file server and received the same error.
I have published other .net applications to this server and installed on multiple target cpu's without any issue.
I do have a app.config file with a hardcoded file path. Do you think this could be the issue?
although i dont think may be the issue either.
below is my app.config
<configuration>
<configsections>
<sectiongroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<appsettings>
<add key="WorkingDirectory" value="C:\Navision_Plug">
|
|
|
|
|
Hi,
In my project i have a one dataset now i need to convert that data set in to hash table in c#language. and that dataset contains only one table.
as well as again i need to convert that hash table in to data set also
plz any one tell me the solution
thanks in advance
|
|
|
|
|
hi.
i am trying to get the index of text >int StartMeta = fileAsText.IndexOf(
|
|
|
|
|
hi
try this way:
int StartMeta = fileAsText.IndexOf("
|
|
|
|
|
Hello marky,
You have to set a \ before the " char, so that the compiler knows that it's not a string decleration!
int StartMeta = fileAsText.IndexOf("<meta name=\"description\"");
All the best,
Martin
|
|
|
|
|
Thank yo sooooo much Martin!!!
|
|
|
|
|
|
i have created a windows application in .net 2005.
i want the application shortcut on the folder right click.
like archive (Ex Win RAR) programes that we install in windows.
is there any popsiblity when we take setup.
if it is needed write in registry. where to write? and what to write?
any idea? any links? any suggestios?
please help me.
thank u.
joe
|
|
|
|