|
Quote: Statistical program. Not a keyllogger.
Quote:
namespace Keylogger
Um. I suspect it might be ...
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
it's just the name of the project in English.
in my own I had written: Program Statystyczny
|
|
|
|
|
Your namespace doesn't agree with you...
|
|
|
|
|
I have already corrected that there were no connections.
And the data is for me, for my needs;)
For proof I can show collections of other statistics such as mouse movement and data transmission over the network from the program: "KalendarzXP" or OmCounter (until computer work) - this is unfortunately programs of Polish programmers
|
|
|
|
|
You're not "counting"; you're "logging".
What do you take us for?
Stick to Mavis Beacon for your "stats".
"(I) am amazed to see myself here rather than there ... now rather than then".
― Blaise Pascal
|
|
|
|
|
|
|
AFAIK, it's not possible - just ignoring that it would make a for difficult user experience to use it, there is no mechanism I can think of that allows you to rotate a DGV 90 degrees and still use it as a DGV. It's possible to rotate PrintDocument output by 90 degrees, but not display controls.
Why would you want to? Do your users habitually rotate their monitors to look at them?
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I meant that I would have a lot of (256) columns and it is not convenient to view them in the current version of DGV. More conveniently the opposite ...
|
|
|
|
|
|
Hi guys.
I'm doing a program to update applications that we only use in my home. And what I want to do is through the network to find if there is an "X" file on the different PCs, and if there is a return of your route, otherwise it will not return anything.
Could someone help me?
regards
|
|
|
|
|
What do you mean by a return of your route ?
We can’t stop here, this is bat country - Hunter S Thompson RIP
|
|
|
|
|
He means the fully qualified path to the file.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
So, what have you done/tried. Tell us about your code, show us some code, describe what works or what breaks. What is your "network" like ?
We can't read your mind !
«Where is the Life we have lost in living? Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information?» T. S. Elliot
|
|
|
|
|
First, you need to be able to identify all of the machineson your network, or provide a way for the user to specify what remote drive(s) to search.
Second, you should use UNC paths instead of shares because shares can be deleted (or Windows could simply lose them), while UNC paths always exist as long s the machine is turned on and connected to the network.
After those two things, the act of finding a file on a remote drive is beyond trivial.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
|
I'm still learning C# and I have a long way to go. I wanted to dive into MonoGame because tinkering with game design has been a hobby of mine since I started learning QBasic at the age of 14. I don't want to use their Content Pipeline to load content, because I'd like to figure out how to load custom resources as needed. Someone on Stack Overflow commented HERE that they use FileStreams to load textures directly. I set about trying to figure out how to do that, and I've gotten this far:
FileStream fs = new FileStream("stars.jpg", FileMode.Open);
byte[] readString = new byte[fs.Length];
fs.Read(readString, 0, (int)fs.Length);
I have no idea if that code even works, because I haven't gotten to a point where running it would yield any visible results. It seems sound, so once I get the file data in the readString array, I need a way to use it as texture data. I tried casting:
object o = (object)readString;
background = (Texture2D)o;
I already know that isn't going to work. I don't even need to run it to figure that one out. I read a little in the MonoGame Reference and thought about using Texture2D.SetData as shown HERE, but I'm not sure how to proceed or even if I'm headed in the right direction. The syntax they provide doesn't really clarify anything.
public void SetData<T>(
T[] data
) where T : ValueType, new()
There's an array here, but I'm not sure what it's asking for. Can I provide SetData with the byte array?
background.SetData(readString);
Your help would be most appreciated, and it would go a long way towards helping me advance in my learning.
Thanks.
-Turtle
modified 27-Dec-18 0:00am.
|
|
|
|
|
|
Hey Kindly do me a favor and tell me
|
|
|
|
|
Syed_Owais wrote: Hey Kindly do me a favor and tell me
Tell you what?
We have no idea what you need to know - or even what you already do know.
Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with. So we have no idea what is "in" your file, how it is stored, what kind of file it is in - and there are a massive number of possibilities - or even if you know how to read anything from a file! Calling it "a text file" tells us very little: there are large number of ways that text can be used to store into, and an equally large number of different types of information you coudl store in it!
So sit down, think about what you are trying to do, look at your data file, and try to clarify in your own mind exactly what help you need, then try to explain that.
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
This is weird. I replied to the OP, not you. Hmmm
|
|
|
|
|
It looks fine - but I got an email for it, so ...
Hamsters at the Eggnog, I suspect.
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Reading text from a text file is basically "programming 101".
Simply Google for "C# read a text file" and start reading. This is far more than documented all over the web.
|
|
|
|
|
Another "get a brain" response that is irrelevant to the question asked.
Down-voted.
«Where is the Life we have lost in living? Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information?» T. S. Elliot
|
|
|
|
|
I'm sorry. Are you not enjoying your urinated Cheerio's this morning?
|
|
|
|