Resize 4 Applications Into 4 Squares?
Jul 26, 2011Is there a way I can resize 4 external application windows into 4 different blocks so they make up a 4x4 block that covers my screen?
View 6 RepliesIs there a way I can resize 4 external application windows into 4 different blocks so they make up a 4x4 block that covers my screen?
View 6 RepliesI am working on a project that is used for key broadcasting. Don't worry nothing illegal, I'm making a multibox application for world of warcraft. However I am having trouble when it comes to launching and manipulating other applications from another.
[Code]...
display squares of od numbers between 1 to 50?
View 1 RepliesI have an 2 dimensional array that is full of 1s and 0s such as
0 0 0 0 0 0 0 0 0 0
0 0 1 1 1 1 1 1 0 0
0 0 1 0 0 0 0 1 0 0
[Code]......
Also the array must be able to have more than one square.
[code]This colours the squares on the map, but I wish to have an outline between them so as to make it a grid. Also is there any way of getting a thicker border?
View 1 RepliesI'm retrieving data info from comments in a website. Everything is fine (I can show correctly the words with accents), but in most of the phrases it comes with a square: How can I remove it?
View 8 RepliesI have been working on a checker game. So far I have code that allows all the white checkers to move properly. The only problem is that this code is about 5000 lines long. I am sure there is a quicker and easier way to do it.
Here is the code for one checker to move in all squares possible for it to go into:
elect Case str1
Case 1
If picCheckers1.Location.X < 271 And picCheckers1.Location.Y > 114 And Open5 = True Then
picCheckers1.Location = square5
str1 = 5
Open1 = True
[Code] .....
The case is the square that the checker is currently in. I also will attach a zip file of the game so that you can understand it more. There are no errors and everything is working fine but I am trying to find a quicker way to code that doesn't take another 5000 lines of code
Attached File(s)
The_Checkers_Game.zip (430.85K)
Number of downloads: 1266
Imports System
Imports System.Collections.Generic
Imports System.Data
Imports System.ComponentModel
Imports System.Drawing
[Code]...
I have this programming assignment to have a text box list all the squares and cubes from 1 to {$value} however when i run my subroutine only {$value} is displayed here is my code:
Private Sub btnCalc_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btnCalc.Click
If txtNumber.Text = String.Empty Then
MessageBox.Show("Enter a Number", "Can not Calcuate Squares and Cubes")
[code]....
I don't do much .Net programming, but I do have one that I maintain, so the answer to this may be obvious.
Setup:
Windows 7 Ultimate with All Language Packs Installed
Visual Studio 2008 Winforms VB.Net project.
I'm in the process of localizing this project, and when I'm making the Japanese version of the forms, the characters display as squares, though they render in my browser correctly. I'm guessing that this is because the default font does not have a glyph for those characters.So, my questions:
Are winforms UTF-8, or some other character encoding?
Is there a way to change the character encoding?
Should I change the font for the Japanese forms, or will Windows do it?
What's the general best practice here?
I want to know that I am copying the characters correctly into my forms, and I want to be able to test them.How can I do this?
Arial Unicode MS does have all the glyphs, but I wasn't using it, because it wasn't in the VS2008 list of fonts. I manually edited the font box to use it, but then Visual Studio throws the message, "Attempted to read or write protected memory. This is often an indication that other memory has been corrupted." I'm guessing that's because VS doesn't have permission to access that font for some reason. I go back to the default font, scary error message goes away.
Then, even when using Arial Unicode MS, the text renders as blocks in the forms titles.Same text renders correctly in labels.I think I want to use the default font, and let Windows handle it. I think I've read that everything from XP on will handle it. Windows 2000 won't, which is a shame, but what ever, I don't know what font I should use, and whatever font it is was excluded from VS.I don't know how to add it without getting lots of error messages about protected memory.Now the problem is, resizing the labels in the form, since the translated text is often larger.
Also, I don't have a support team to do this for me, but I could maybe install extra copies of Windows 7, and change to the Japanese language pack and try to run it.But that becomes a major pain.I thought I read that you could change the language while the application is running, but that doesn't seem to be true.MS docs talk about how to do this, but Windows 7 also tells you that you have to log out to change the language.MS Gothic seems to work, and it's part of VS 2008, but the title bar is still squares. That's really odd, since the same glyphs are in the winform.Is that because title bar fonts are set at a system level, and not the application level?
I wrote a vb.net program that can view the documents It uses a reader and decompresses the sql blob to an outputStream and displays the document after a Response.Flush.We sent the code and databases to another group to host this website themselves. They can run the website but when they view the documents the documents open with a page full of small squares.
View 1 RepliesI am making a CSS layout creator. You can create reziable/dragable sqares. And when you press a button it get the css code for it. How would i get the locations and size of each box? And then spit that all out in a rich text box?
View 22 RepliesI created so many listviews in my project, that im too lazy to add to each listview a resize event with percentages. Is there any other trick, who just scales the columns so as they are?
View 3 RepliesI'm starting work updating an UI for one of my company's applications and I'm running into a sticky issue. The parent control contains several panels, each of which can be turned on or off depending on user input.
The final panel in the user control contains another user control which gets resizes according to a toggle switch. Essentially, it "opens" up more information.
While the child control (ChildControl) is docked to Fill inside the parent control (ParentControl), when I add height to ChildControl I can't get ParentControl's height to get updated as well. Currently I'm handling the ChildControl.Layout event in ParentControl but I can't seem to reach that code. To resize ChildControl, I'm calling Me.Height += 200 in ChildControl.vb.
I am making a game based on "Simon" where the computer creates a sequence and the user then has to then replicate it. To create and show the sequence I am generating random numbers between 1 and 4 then based on what numbers come out I change the image in a picture box to simulate coloured squares lighting up. The problem however that I think I am having is that the loop I made is executing too fast as all I see when I run the program is the last light in the sequence. For example is the sequence generated was 2341 all I see light up is square 1. I have stepped into the program and it goes through everything correctly so the only thing I can think of is that it runs too fast to see? [code]
View 2 Replieshow to connect different vb applications to a database server.like accessing data from one database by different applications...
View 4 RepliesIs there a way to, when a parent application is opened up, that at the click of a button, or anything of designated event, that this parent application can open a secondary one?
View 11 RepliesI made a quite big application and wanted to test it out on my other pc but it didn't even start and gave the system.InvalidException error.
I just the build-function to compile my project. It runs fine on the pc where i developed it. It has some dll's in it: mysql-connector, twitterVB and zipforge.
I've seen in a few applications now, buttons like this:
View 4 RepliesI'm a new programmer and I'm looking for some guides/series, or something like those, that basically walk you through building some sort of application. For example, I used to buy little sets/kits from radioshack that walked you through building a clock, radio, etc., or other little electronics devices. The kits came with all the parts and instructions so you just assembled them. Hence, I'm just looking for something similar to that for vb, minus the components obviously ;-). I like to learn through hands on experience so I'm just looking for some guides that have you build a program and briefly go explain the workings of the code.
View 8 Repliesis it possible to use same database for both vb.net appplication and asp.net??and if is possible, how can to connect it?now..i'd build vb.net application and asp.net in my laptop...it can connect..but i wonder how to make the database connect for vb.net and asp.net in real..
View 2 RepliesI want to code an app with recreational purposes. This should be a Desktop app that detects itself running on other computers on the same LAN and communicates with them. By communication I mean that I should be able to pass anything from on to another. note that although I'm not asking for code (that would beat my purpose, of course) I think some small snippets wouldn't hurt. In any case what I really want is the "recommended procedure", I mean what Microsoft recommends for this environment, and documentation :)
View 3 RepliesI'm wanting to program a few buttons to run programs. The only issue is that they are in different directories.
Directory Structure:
+Program Files
- Test 1
- Test 2
- Test 3
- MyApplication
The Program Files folder is located on a Flash Drive which will have a different drive letter per computer. How can I code this?
I'd like to know what the best way to communicate between two applications via a LAN would be? ..and would it work over multiple versions of Windows (XP, Vista, NT etc..)?
I am setup with Visual Basic Express 2008.
How can I get all of the running applications? If I have to use Process.GetProcesses, then how can I determine which are applications (appear in the task bar)?
View 4 Repliesi want skins for windows applications?
View 3 Repliesi wanna know how can i add nice skins or themes to my vb.net application. if u know pls let me know the steps.
View 9 RepliesI need to understand if I can integrate two applications... one which I purchase, and one which I will write in VB. What my application needs to do is to retrieve data from the purchased application form and then update back to the purchased form fields.
View 2 RepliesI am writing a basic little program. Amongst everything, my program will let you install printers remotely, To cut a long story shot I don't want to use the rundll32 shortcut to install as you can only remove the printer using rundll32 again which I don't want.
The way I wanted to do it is create a VBS script and execute it remotely using psexec. This didn't work for some reason, locally the script works fine but when executing it remotely the script runs but doesn't perform any of the actions inside the script.
The only other option I can think of is launching the VBS via WMI. I have done a bit of research and I cant seem to find any VB code that does anything similar.
i just recently moved to the windows-7 operating system from xp. (didn't like vista much)
in xp, i can load as many applications of the same app, multiple times.. windows -7 does not allow my app to do so..
if it has something with checking "Make Single Instance Application" from the app's properties, definitely explain what that does, since i don't have a clue.