Jump to content
  • Advertisement
Sign in to follow this  
ghostbear77

Unity MS VisualStudio Offline help not complete?

This topic is 4603 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

i just excanged my old IDE (C++Builder) to the free MS Visual C++ 2005 ExpressEdition (full img-download) and tried to figure out, how to work with it. now i got 2 problems: its easy to generate a WinApp. forms, buttons ect. but when i enter a source snipped (i.e. code to be executed when a button is pressed) the IDE tells me to put it into the "form.h". isn't code supposed to go into the "form.cpp" or whatever? and the headers to be inside the header-file? second: how can i update the offline help? i know there is always the online-help and it is more up to date ect. but if my i-net gots down or i want to use the help on a non-connected PC? i get annoying errors to, when using the local-part of the help:
The information you are trying to access could not be found. Various events could have caused this error.

You have chosen to use local Help only for Search and F1 results, and the topic could not be found in local Help.
This error can be caused when local Help has not been installed or only a subset of local Help was installed.

To correct this error
On the Tools menu, click Options.

Expand Help and then click Online.

In When loading Help content, select Try local first, then online.

In Search these providers, verify that MSDN Online or Codezone Community is selected.

Click OK and then try to access Help again.

You have chosen to use a mix of online and local Help for Search and F1 results, but online Help is not available.
This error can be caused when the information you are attempting to access can only be found online, but online Help is not available.

To correct this error
Verify that you have an active connection to the Internet.

—or—

If you connect to the Internet using a proxy server, verify that the proxy server is functioning properly.

A cross-reference link in the body of a topic is broken.
This error can be caused when a link refers to a topic that no longer exists or refers to a topic that has changed locations. This error can also be caused when a link refers to a topic that was not included in local Help for your product edition. For example, Express Editions frequently install a subset of Help so that topics that do not apply to Express Edition features are excluded from Help.

To correct this error
Try searching for the topic using the Search page or Index window.

For more information, see Full-Text Search Tips and Index Search Tips.

Help is not installed.
Additional links to information might appear below:

Topic Location 
Installation Information Microsoft Document Explorer 


To correct this error
Install Help. 

Note  
Installation instructions will vary based on which product installed Help. 
 

If available, in the Options dialog box select the Try online first, then local option to specify that Help display topics located on the Internet rather than topics installed on your computer. 

help is installed (the link providet isn't usefull either ^^) fulltext-search finds the file online but not locally and i already reset the help to full "local first, then online" and all the sources on the dumb thing is, the page i tried to open locally is accessible through the online-help if i manually locate it or via search function. but VS doesn't keep the files it downloaded. me thinks: no wonder i don't like MS products. it's mutual... can anybody help me?

Share this post


Link to post
Share on other sites
Advertisement
You aren't required to put code in cpp files. Putting the code in the class declaration automatically inlines it in native C++, for example. In managed it seems that the automatic method creator wants you to put it in the class declaration as well.

You don't have to.

When it adds, say:

class Form1
{
private: void MyControl_OnResize(Object^ obj, EventArgs^ e)
{
//TODO: Stuff
}
};


just remove the body of the function, and create a Form1.cpp and do:

void Form1::MyControl_OnResize(Object^ obj, EventArgs^ e)
{
//TODO: Stuff
}


Microsoft simply recommends you leave it in the prior form. Why? I guess it's less files.



I've never had any trouble with the help files, personally. You sure you don't have any filters or anything?

Share this post


Link to post
Share on other sites
first: thanks for the reply

second: stupid MS for 'breaking' (or bending) (C++)standards... again

third: i first hat ZoneLabs lock out net-access for VS, and deactivated any online-ressources in the help-options. accidently i had "Local help" switched off for "search in providers" too. help worked until i stumbled across the missing help-page. (Help -> How do I -> Windows Applications -> Code for Windows Form Applications aka "the missing file")
then i released any locks and set the help-options back to "every thing on", but the pages remain only accessible through the msdn-page.
as of filters, the language filter is set to C++, since i don't need help on VBasic, C# or Java. haven't seen any other filters yet.

Share this post


Link to post
Share on other sites
Quote:
Original post by ghostbear77
second: stupid MS for 'breaking' (or bending) (C++)standards... again

I'm fairly certain you're working in Managed C++, which already breaks with the standards by providing interface, sealed, abstract, ref, value, ^ as a handle, % to get handle, only supporting single inheritance except from interfaces, etc. It's my understanding that the method they want you to use is more like the other .net languages.
Quote:
Original post by ghostbear77
as of filters, the language filter is set to C++, since i don't need help on VBasic, C# or Java. haven't seen any other filters yet.

I recall (my dev computer is in the process of being restored from backups atm) there being filters on which libraries to search as well.

But it seems you're just missing a help file, or the link isn't right. I've never used "How Do I" so I don't know.

Share this post


Link to post
Share on other sites
Quote:

second: stupid MS for 'breaking' (or bending) (C++)standards... again


It's not that they are 'breaking' the standard at all. If you are using Managed C++, that is more or less a new language built on top of C++ with added functionality. It isn't meant to be compliant to the C++ standard, its just meant to possibly shorten development times. If you want normal standard compliant C++ than you can use that with their compiler too, you just lose the added features introduced into the Managed C++ language. I don't think you can use straight C++ for Windows Forms coding though, I think you are stuck with Managed C++, or C# or another .NET language. If you aren't using Managed C++, then I'm not sure what you are refering to with MS 'breaking C++ standards.' If it is the fact that they seem to want yout to implement class member functions in the header instead of a seperate .cpp file, then that is perfectly legal by the C++ standard. You can always define a class along with all it's member functions in the header, providing you implement the members within the class definition. I know it is fashionable to always hate Microsoft, but in this case it isn't really a just criticism.

Share this post


Link to post
Share on other sites
i already wondered about the ^ ...

MS: "do it our way or dont do it at all"

the CBuilder had none of the fancy stuff like "managed" C++ and could build WindowForms quite well. guess it would be easier just to upgrade it with BCC5.5 and drop VS again.

it's not that i hate MS, i just don't like their attitude and the way we are (i am) forced to use their products. there is not always an alternative. *sigh* less complaining, more problem solving and programming ;)

Share this post


Link to post
Share on other sites
Quote:
Original post by ghostbear77
MS: "do it our way or dont do it at all"

the CBuilder had none of the fancy stuff like "managed" C++ and could build WindowForms quite well. guess it would be easier just to upgrade it with BCC5.5 and drop VS again.


You're using the express edition, the scaled down edition with the bare necessities. I can't speak to wether the standard has a form builder for native use, but it's not all that surprising that the express edition is limiting.

Quote:
Original post by Dranith
I don't think you can use straight C++ for Windows Forms coding though, I think you are stuck with Managed C++, or C# or another .NET language.

You can, they used to do it with MFC. They've since dropped MFC because it was... yeah. But you can still build forms with C++ using the platform sdk apis. It's just... difficult to make dialog boxes without a form builder. Making forms is easy enough, you just use CreateWindow for all the controls, but dialog boxes must be "predefined" (more or less), and the platform help for building dialog boxes is shoddy at best. Form builders make it a lot easier.

Share this post


Link to post
Share on other sites
Quote:
Original post by ghostbear77
i already wondered about the ^ ...

MS: "do it our way or dont do it at all"

No, "do it our way or do it your own way." Regular C++ is still usable (in the same IDE). Don't immediately assume that your problems stem from MS being evil.

[Edited by - Sneftel on November 12, 2005 8:10:47 PM]

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
  • Advertisement
  • Popular Tags

  • Similar Content

    • By Alexander_Vovk
      Hello Guys!
      Please share your experience, where is it better to find sales manager  specialists for indie team of 6 + people(remotely)?
      Maybe someone has a good experience of cooperation with finding projects through sale managers(USA and Canada)?
      Thank you
      Best Regards
      Alex Vovk
      Co-Founder of Sixteen Squares
      Alexander_Vovk@outlook.com
       
    • By RoKabium Games
      Been a bit quiet recently, but we've been busy bug fixing and tweaking things... Now we have lots more 'Particle effects' in the game, specifically here the Flamethrower and Enemy attacks!
    • By JoshuaFraser
      Hi and thanks for reading, I have an issue with this reactive crosshair script, everything works fine until I start changing the offset. Give the script a go and you will see what I mean, when I do SetOffset(0f); it doesnt always set back to the origional state, if anyone can spot a fix I'd be super appreciative!
      using System.Collections; using System.Collections.Generic; using UnityEngine; public class ReactiveCrosshair : MonoBehaviour { [SerializeField] GameObject c_limb_prefab; private float center_offset = 0f; private float current_offset = 0f; private float max_offset = .5f; private int number_of_limbs = 4; private float limb_length = .05f; private float limb_width = .005f; private List<GameObject> c_limbs = new List<GameObject>(); public void SetupCrosshair(){ for (int i = 0; i < number_of_limbs; i++) { GameObject line_go = (GameObject)Instantiate (c_limb_prefab); line_go.transform.SetParent (this.transform); Vector3 limb_pos = new Vector3 (0f,0f,0f); //line_go.transform.position = limb_pos; line_go.transform.localPosition = limb_pos; LineRenderer line = line_go.GetComponent<LineRenderer>(); line.startWidth = limb_width; line.positionCount = 2; line.SetPosition (0, line_go.transform.localPosition + new Vector3(center_offset, 0f, 0f)); line.SetPosition (1, line_go.transform.localPosition + new Vector3(center_offset + limb_length, 0f, 0f)); line.useWorldSpace = false; c_limbs.Add(line_go.gameObject); } if (c_limbs != null) { OrientLimbs (); SetOffset (0f); } } public void OrientLimbs(){ for (int i = 0; i < c_limbs.Count; i++) { float rotation_step = 360f / (float)c_limbs.Count; c_limbs [i].transform.RotateAround (c_limbs[i].transform.position, c_limbs[i].transform.forward, 90f + (rotation_step * (float)i)); } } public void SetOffset(float _current_spread){ float offset = Mathf.Lerp (0f, max_offset, _current_spread); for (int i = 0; i < number_of_limbs; i++) { if (offset > current_offset) { Vector3 pos = c_limbs [i].transform.position + (c_limbs [i].transform.TransformDirection (Vector3.right) * offset); c_limbs [i].transform.position = pos; } if (offset < current_offset) { Vector3 pos = c_limbs [i].transform.position - (c_limbs [i].transform.TransformDirection (Vector3.right) * offset); c_limbs [i].transform.position = pos; } } Debug.Log ("SetOffset() offset: " + offset.ToString () + " _current_spread: " + _current_spread.ToString() + " localPos: " + c_limbs[1].transform.localPosition); current_offset = offset; } }  
    • By Erik Nivala
      So, as the title says i am trying to figure out a good way sync all that information with other players in Unity. My problem is that i can't come up with a good solution since i am used to creating classes for everything e.g. attachments are its own class and then the weapon would save a reference to that attachment. But since you can't send custom classes over [Command] & [ClientRPC] i am a little stuck. A solution for this would be giving each attachment for a slot a unique ID and then passing the ID to other player but i feel like that is very error prone if other ppl add a new attachment or the IDs get mixed up.
      Is there a "standard" way that this is usually done that i am missing?
      I am fairly new to programming so any help is appreciated!
    • By MintyLyton
      I'm looking for any team / people that need a programmer for their project. I'm looking to expand my portfolio which you can see Here. I'm more experienced with Unity but I can spend the time to learn new Engines if that's your preference. I have worked on Unreal Engine 4 before but I might take some time to re-learn it, if the project requires it. Feel free to DM here or use the contact info on my website. 
    • By ethancodes
      I'm working on a system for my game that will allow the player to stack pick ups in a queue. As one pick up expires, the next automatically activates. I'm having an issue though where if I pick up the first one, it activates fine, but if i pick up a second directly after it, it overrides the first one, activates the second one, and then once it has run it's course, everything goes back to normal gameplay, no first pick up. I'm not sure why this is happening. Hopefully someone can spot what I'm doing wrong in my code.
      Here is the code for the pick up manager:
      // Update is called once per frame void Update () { if (pickUpQueue.Count != 0 && !pickUpActive) { pickUpActive = true; pickUpQueue[0].ActivatePickUp(); } DeactivatePickUp(); } void DeactivatePickUp () { if (pickUpQueue.Count != 0 && pickUpActive) { Destroy (pickUpQueue [0]); pickUpQueue.RemoveAt (0); pickUpActive = false; } } And here is the PickUp:
      public override void ActivatePickUp () { ball.GetComponent<Ball>().Speed = 2.0f; //increase ball speed... ball.GetComponent<Ball>().StartCoroutine(timer); //...set time that power up is active }  
      There is also a Base Pick Up:
      public void OnCollisionEnter2D (Collision2D collision) { Vector2 tweak = new Vector2 (Random.Range(0f, 0.2f),Random.Range(0f, 0.2f)); this.gameObject.GetComponent<Rigidbody2D>().velocity += tweak; //if the pickup makes contact with the paddle or ball.... if (collision.gameObject.tag == "Paddle" || collision.gameObject.tag == "Ball") { GameObject.FindObjectOfType<GameManager>().GetComponent<PickUpManager>().pickUpQueue.Add(this); Destroy(gameObject); //...and finally destroy power up object } } As a side note, I am trying to find a solution to this that will work for all of my pickups. Some pickups are ammo based, some are timed. 
    • By D34DPOOL
      Edit Your Profile D34DPOOL 0 Threads 0 Updates 0 Messages Network Mod DB GameFront Sign Out Add jobEdit jobDeleteC# Programmer for a Unity FPS at Anywhere   Programmers located Anywhere.
      Posted by D34DPOOL on May 20th, 2018
      Hello, my name is Mason, and I've been working on a Quake style arena shooter about destroying boxes on and off for about a year now. I have a proof of concept with all of the basic features, but as an artist with little programming skill I've reached the end of my abilities as a programmer haha. I need someone to help fix bugs, optomize code, and to implent new features into the game. As a programmer you will have creative freedom to suggest new features and modes to add into the game if you choose to, I'm usually very open to suggestions :).
      What is required:
      Skill using C#
      Experience with Unity
      Experience using UNET (since it is a multiplayer game), or the effort and ability to learn it
      Compensation:
      Since the game currently has no funding, we can split whatever revenue the game makes in the future. However if you would perfer I can create 2D and/or 3D assets for whatever you need in return for your time and work.
      It's a very open and chill enviornment, where you'll have relative creative freedom. I hope you are interested in joining the team, and have a good day!
       
      To apply email me at mangemason@yahoo.com
    • By davejones
      Is there a way to automatically change the start position of an animation? I have a bunch of animations set up on 3D models in unity. The issue is that I need to move the 3D models, however when I do so the animation start positions are not updated and I have to do it manually.

      Changing the transform of key frames is time consuming with the amount of animations I have, so I was wondering if there was a way to do it automatically?
    • By MoreLion
      hey all! We are looking for members for our Unity horror game! 
      Here’s the story:
      After a deadly virus plunges the world into chaos killing 85% of the human population there are now what they call “zones” these zones are watched very closely by the surviving government, people are checked every day for the virus, even if you touch the spit or any human waste or fluids of the victim who is infected, you will die. But one day, people in the west zone start to go missing, 1 woman goes outside the walls to uncover the mystery, is there more to the virus than meets the eye?, That is where your story starts.
      This game is not a long development game, I have loads other game ideas,
      I will also allow you to have a bit of creative freedom if you wish to add or share a idea!
      And no, it’s not a zombie game lol I feel like zombie games are too generic, in this game you will encounter terrifying beasts!
      There is some concept art one of our concept artists have made
      If interested email liondude12@gmail.com
    • By Canadian Map Makers
      GOVERNOR is a modernized version of the highly popular series of “Caesar” games. Our small team has already developed maps, written specifications, acquired music and performed the historical research needed to create a good base for the programming part of the project.

      Our ultimate goal is to create a world class multi-level strategic city building game, but to start with we would like to create some of the simpler modules to demonstrate proof of concept and graphical elegance.

       

      We would like programmers and graphical artists to come onboard to (initially) create:

      A module where Province wide infrastructure can be built on an interactive 3D map of one of the ancient Roman Provinces.
      A module where city infrastructure can be built on a real 3D interactive landscape.
      For both parts, geographically and historically accurate base maps will be prepared by our team cartographer. Graphics development will be using Blender. The game engine will be Unity.

       

      More information, and examples of the work carried out so far can be found at http://playgovernor.com/ (most of the interesting content is under the Encyclopedia tab).

       

      This project represents a good opportunity for upcoming programmers and 3D modeling artists to develop something for their portfolios in a relatively short time span, working closely with one of Canada’s leading cartographers. There is also the possibility of being involved in this project to the point of a finished game and commercial success! Above all, this is a fun project to work on.

       

      Best regards,

      Steve Chapman (Canadian Map Makers)

       
  • Advertisement
  • Popular Now

  • Forum Statistics

    • Total Topics
      631395
    • Total Posts
      2999757
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!