|
Thanks Alex. How about some programs that makes your applications "faster". For example speedhack programs that makes your games run faster: hit faster, run faster.
|
|
|
|
|
I think your talking about "trainers"? Good luck, cause what your doing is poking numbers directly into the memory space of the game itself. There are no document (from a reliable source, anyway) that will teach you how to do this. It's sort of a black art that you figure out on your own.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Well, it's not a trainer exactly. It just speed up your application. This is the program example http://www.speederxp.com/en/ .
|
|
|
|
|
Don't believe everything you read. This will not give you the kind of performance kick that they would lead you to believe. You'll get, MAYBE, a 5% boost in some apps. There's only so much you can do with what's in memory. The CPU will not execute instructions any faster, and it only tweaks some settings for network communications that reduce the wasted bandwidth, which is already small to begin with. The only way you'll notice any performance gain there is if your using dial-up. Cable modem users won't see any pickup at all.
Also, notice nobody has a full review of this software?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi,
just assume for one second there really where programs which would make a windows pc overall faster. Wont you think Microsoft would buy it for 547 Quatillion Dollars to integrate it into the standard windows?
And I think there is a difference between normal accelerators and speed hacks for games (although they can be bundled in one program). By the second one I understand a program which alters the normal behaviour of a program. One example: A game restricts you to only shoot once a second. This could be done by not handling key events in this given timespan. A speed hack program could now handle the keystroke and directly make the game do the fire command. This can be done even better for online games where not the server controls those things but the client app. The hack tool just needs to send the right commands to the server (without having to tackle with the client).
|
|
|
|
|
Hi,
I need to convert the VB.Net application to C#.Any ideas how to do it. Anybody tried using the convertors available to do this job or one writes an app from scratch.
Thanks.
|
|
|
|
|
I'm pretty sure that SharpDevelop has a VB.NET to C# code converter in it and also I think it has a converter that does the opposite.
http://www.icsharpcode.net/OpenSource/SD/[^]
I hope this helps.
Happy Programming and may God bless!
"Your coding practices might be buggy, but your code is always right."
Internet::WWW::CodeProject::bneacetp
N-Tech Productions
http://www.n-tp.com/
|
|
|
|
|
We produce converters going both ways:
Instant C#: VB.NET to C#
Instant VB: C# to VB.NET
Download our free Demo Edition and try it out. We provide full support for our Demo Edition.
Our converters typically convert over 99% of original lines successfully (99.98% on published Microsoft samples).
David Anton
Tangible Software Solutions
www.tangiblesoftwaresolutions.com
Home of the Instant C# VB.NET to C# Converter and the Instant VB C# to VB.NET Converter
|
|
|
|
|
I have a situation where I am utilizing code from MSDN to insert XLS files into a Microsoft Access Table in a column of Ole Object using VBA and DAO. That code also provides me with a method to extract the XLS files later. This works wonderfully.
The Article is 103257, ACC: Reading, Storing, & Writing Binary Large Objects (BLOBs) http://msdn.microsoft.com/library/default.asp?url=/library/en-us/oledb/htm/oledbaccessing_blob_data.asp
I next transfer that data to a Dataset and then to SQL Server. I found the following articles on MSDN which show how to insert and extract BLOB data using Visual C#.
The Articles are
317016 How to read and write a file to or from a BLOB column by using ADO.NET and Visual C# .NET http://support.microsoft.com/default.aspx?scid=kb;en-us;317016
and
317043 How to read and write a file to and from a BLOB column by using chunking in ADO.NET and Visual C# .NET http://support.microsoft.com/kb/317043
These work on extracting XLS files which were previously inserted using C# but fail to extract readable copies from the XLS files previously inserted via VBA.
Things I have noticed.
1. The OLE Object size in Access is twice the size of the original file.
2. When the OLE Object is extracted using VBA-DAO, the file size is back to that of the original file.
2. The OLE Object size in Access is equal to the BLOB size in SQL Server.
3. When the BLOB is extracted via C# from SQL Server, the extracted file size matches the BLOB size exactly.
Please Help!
Does VBA-DAO and OLE Objects included some sort of encoding on insertion which I must replicate C#?
Paul Kennedy
Father/Son/Husband/C Programmer
What else could you ask for?
|
|
|
|
|
How do I find out the version number of a .NET DLL from within that DLL?
I tried:
<br />
Assembly a = Assembly.GetAssembly(this.GetType()); <br />
<br />
object[] attrs = a.GetCustomAttributes(typeof(AssemblyVersionAttribute), true);<br />
AssemblyVersionAttribute aVersion = (AssemblyVersionAttribute)(attrs[0]);
But GetCustomAttributes returns an empty array
|
|
|
|
|
PaleyX wrote:
How do I find out the version number of a .NET DLL from within that DLL?
The AssemblyVersionAttribute Class[^] isn't a custom attribute. In order to get the version information (usually as a Version[^] object) you have to use the AssemblyName.Version[^] property. And if a method is supposed to retrieve the version of its own assembly you can use Assembly.GetExecutingAssembly()[^] to get the assembly and Assembly.GetName()[^] to get the AssemblyName object.
public string Version()
{
return Assembly.GetExecutingAssembly().GetName().Version.ToString();
}
Best regards
Dennis
|
|
|
|
|
An application, written using Visual Studios 2002 .NET, everything works perfectly. Recently, I migrated all of the code into Visual Studios 2003 .NET (built a new project and imported files.)
This is a windows C# application, by the way.
On the live machines, the application is experiencing very strange behavior. For instance:
- Custom buttons not placing correctly
- Handlers being fired more than once
- Concurrency violation errors
- Objects being disposed at the wrong time
On my development machine, I'm seeing some of the issues, but not all of them. I am not getting the concurrency violation or mis-fired handlers on my development machine, but I am seeing the buttons not placed correctly and objects sometimes disposed of at the wrong time. I tried running the application on a separate development machine, and it also gave me the same behavior as my first development machine.
None of these issues occurred when the application was compiled and run using visual studios 2002 .NET. I have checked and double-checked the environments between the live and development machines, and the .NET Framework is the same version (1.1.4322) and the .exe files are identical. There are no additional dependencies other than an Access DB file.
Thanks for the help!!
DougW48
dwright@tdci.com
|
|
|
|
|
Hello,
My SQL Server registration name is TEAM01\xxx
I could not access this SQL Server via .NET Sql connection string.And I get an error message.
.NET code is like this:
---------------------------------------------------
public static string connectionString = "server=TEAM01\XXX;database=Northwind;User ID=sa;Password=mlsqlsys;";
----------------------------------------------------------
How can I rename this SQL Server registration name or how can I correct this connection string?
Please help
|
|
|
|
|
innocent73 wrote:
And I get an error message.
What does the error message say?
|
|
|
|
|
You can correct your connection string by using '\\' instead of '\' or start the string like: @"server...
This posting is provided "AS IS" with no warranties, and confers no rights.
Alex Korchemniy
|
|
|
|
|
Thank you VERY VERY VERY MUCH!!!
Problem solved..
And thanks to other readers for their attentions
|
|
|
|
|
check your SQL Server Installation..
Use Mixed Mode..
|
|
|
|
|
Hi guys and girls,
What I am trying to do is find out what the user entered into the Folder option of an install.
I have a c# project with a standard installer project created with VS 2003. I would have thought there was a simple way to find out where the user choose to put the app and then use that information to create an entry in the registry to launch the app on startup.
I can create the reg entry and make it work if I use the default install path, I just need to know how to get the actual path and I can't find a way!
Any help would be great
Mike
|
|
|
|
|
Hi!
You could create a custom action to save the installation path.
When calling the custom action you can give the installation path as argument, using the [INSTALLDIR] installer variable in the call arguments.
In this case you have to be careful to get the parameter escapes right (IIRC you'll have to put a single '\' after [INSTALLDIR] if it's the last parameter).
Or you use reflection in your custom action dll to find out where it's run from and then extract the path to the assembly from that.
Surely there are several other ways to perform this task, too. Other suggestions anyone?
mav
|
|
|
|
|
Run Regmon from SysInternals when you run your install program to see where in the registry it puts the data. Then use regedit to look at the value of the registry setting on the target directory on the machine in question.
Sincerely,
-Ron
|
|
|
|
|
Cheers for your replies guys, just incase anyone else gets stuck on this I'll put what I eventually did.
Added a reg entry into either
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run
Create a new string value and call it what you like. Then as the value put [TARGETDIR]App_Name.exe.
Simple when you know how so I hope others dont have to waste a day on it like I have!
|
|
|
|
|
Hello,
I just want to override the System.Exception in order to log when an exception occurrs in an XML file, for doing that I tought I sould declare a class called exception and then to do
<br />
public class Exception : System.Exception<br />
{<br />
....<br />
}<br />
but I don't know to say to code that I want to use my exception when I do
<br />
catch (Exception ex)<br />
{<br />
....<br />
}<br />
thanks
Paolo
|
|
|
|
|
You could do something like this:
namespace MyNamespace
{
public class Exception : System.Exception
{
}
public class Foo
{
public void Bar()
{
try {}
catch (MyNamespace.Exception e) {}
}
}
}
However, you really should not do it like this. Instead use a self-explanatory name for your exception class that ends with Exception (just as an example: XMLProcessingException). For details on using exceptions see Class Naming Guidelines[^], Best Practices for Handling Exceptions[^] and Using User-Defined Exceptions[^].
Best regards
Dennis
|
|
|
|
|
A few months ago I came across a post on CP that contained a programmatic break point. Basically when this line was hit in runtime whilst running an application through VS debug mode it would drop out into the debugger (exactly the same as placing a manual break point)
The problem is that, after much searching, I cant find the post/article in question. So does anybody know what it is?
post.mode = postmodes.signature;
SELECT everything FROM everywhere WHERE something = something_else;
> 1 Row Returned
> 42
|
|
|
|
|