alungwyther's Q&A profile
Visual FoxPro exe is not a Visual Foxpro .Exe file
Dear Experts Now, this time I am facing the greatest problem of my life about vfp and my future. For the last about three years all of my softwares were runing properly but unfortunately from the last month I am facing these error messages 1- D:\ginning\accounts.exe is not a Visual Foxpro .Exe file 2- File D:\ginning\accounts.exe is not object file I raise following steps to solve this problem. 1- Done partition of Hard Disk with FDISK and then Format. 2- Install windows98 again with Setup files, not from GHOST 3- Delete project file and exe file again. 4- Compile Exe again ...Show All
Visual C++ error LNK2028: unresolved token (0A000019) "int __stdcall LoadString
Please help I try to acces the resurce file using LoadString. I recivede the error: Linking... ClaseImpl.obj : error LNK2028: unresolved token (0A000019) "int __stdcall LoadStringA(struct HINSTANCE__ *,unsigned int,char *,int)" ( LoadStringA@@$$J216YGHPAUHINSTANCE__@@IPADH@Z) referenced in function "public: void __clrcall AccesResurse::initResLabel(class System::Windows::Forms::Label ^,unsigned int)" ( initResLabel@AccesResurse@@$$FQ$AAMXP$AAVLabel@Forms@Windows@System@@I@Z) ClaseImpl.obj : error LNK2019: unresolved external symbol "int __stdcall LoadStringA(struct HINSTANCE__ *,unsigned int,char *,int)& ...Show All
Visual C# How can I do this
Hello , when i create a username,I wanted to do check the username from a Active directory and if the username is exist already then i wanted to create another username by adding an integer. for example..... first person when he create a username the username will be dave-1 2nd person dave-2 when the third person try...the available username should be dave-3 how can I do that in C# can anybody help me out regards, Thaya Thanks Sibusiso, Active directory is the place where the information stroed as object so i have check the objects where the username exist and then i have to find the appropriate username.I hope you get it now.... rega ...Show All
Visual Basic help file not showing after installed deployment msi file
in my application, i have a button called (btnHelp), its code is: Help.ShowHelp(Me, "..\CYM HELP.chm") which opens the help file from application root folder during debugging "start", help file showed as expected when btnHelp is clicked. i created my own deployment msi file, the default installation path is: C:\Program Files\SF\CYM\ how come when i run the msi file, installed the applicatin, run, and click on the btnHelp, the help file doesn't show plz help thx David very very much for your help, i replaced my help file under the folder of "bin" where the exe file is as the code looks for it under "bin" folder where the ex ...Show All
Windows Forms Default Font Size for Labels
In VB.NET is there somewhere that the font size for all labels in a project can be set Thanks, Tony From a purely OO point of view, going with Form inheritance as Erik suggests is the way to go. But that are so many issues with visual inheritance in the designer in the current version of VS.NET that I can't recommend it. That&n ...Show All
Architecture Storing parent reference vs ID in business objects
Our development team is discussing the pros and cons of storing hierarchical information in business classes. Let's use a banking system as an example. Is there any cons to storing a reference to the parent object in child objects (for example, storing a reference to the account in each transaction) Now, we don't want to make it mandatory. For example, when getting a specific transaction based on some ID value, the Account property that references to the account this transaction is in will be set to null. If we want to get that account, we can call some business method on the Transaction object. Alternatively, if I want to get a specific ...Show All
Smart Device Development IE Like Component For CF1
Is there a component/control/class that I can inherit from in C#/.NET CF that will give my class the look/feel of a MSIE browser or another lite browser OpenNETCF have a WebBrowser wrapper in the SDF - this only works on Windows Mobile devices or CE devices with Pocket IE/PegHelp components - www.opennetcf.org/sdf/ Peter ...Show All
Visual Basic Address Bar Problem (Possible Solution)
Hello everyone, I'm still working on this browser of mine and What I'm trying to do I thought would have been a very simple thing but as usual, it's just turning out to be a big frustration. Especially when you're a newbbie. I'm using the AxWebBrowser on a form in VS 2003 to create this browser. The things that I've done so far are working fine. What I need to do now is make the TextBox I'm using as the Address bar change its text according to the http address the browser is at at the time. When I type an URL in there now and click the go button it works fine but if I click on a link in a page, the address bar text doesn't change to re ...Show All
.NET Development Ignoring native dll's memory problems
Hi, I am calling some native c dlls in my .net app. Sometimes due to bugs in the c dll, I get this exception in .net code: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Since we do not have access to the code of this third party dll and it will take a long time for them to fix it, is it possible to tell .net CLR to ignore memory exceptions in native dlls Thanks Pawan Hi Pawan If your native code writes to the managed heap and corrupts memory, there is nothing the CLR can do to recover. I'm afrid you're stuck with r ...Show All
SQL Server Downloading SQL Express Server 2005
Hello World, I am trying to download the SQL Express Server 2005 software direct from Microsoft. I am having trouble locating the ENGLISH version. I am located in Frane but prefer using software in my native language....no pun intended. Every attempt to d/l gives me the French version. Can anyone provide me a link for the ENU version of SQL Express Server 2005. Thank You in Advance, Best Regards, Richard J. Rothery Jr. rjstinyc@hotmail.fr What about http://www.microsoft.com/downloads/details.aspx familyid=220549b5-0b07-4448-8848-dcc397514b41&displaylang=en HTH , Jens Suessmeyer . --- http :// ...Show All
SQL Server Is it possible to convert the sample C# program AmoAdventureWorks in "C"??
Is it possible to convert the sample C# program AmoAdventureWorks to "C" Program If so please someone give me pointers. Even a subset of AmoAdventureWorks would be fine (i.e with just one dimension, one measure etc.) Please hepl me urgently!!! Thanks Hi Can anyone give me a sample code in "C" for the C# Code sample for AMO Adventureworks I dont need whole code, please give a sample code in "C" with just 1 dimension and 1 measuregroup for Adventure works 2005 Cubes that uses AMO, thats fair enough..I can manage from there. Can anyone please help me in the above issue I'm urgently in need of help!!!!! Even a link havin ...Show All
Visual Basic Class Diagrams and Collection Classes
When I try to show a collection class which is in a separate dll in a class diagram I get the message "Cannot show as a collection association when the member is a weakly typed collection." I don't believe that I do have a weakly typed collection, and moreover, when I copy the collection class code into a new class in the same project as the reference to the collection class instance, and make the reference refer to this instead, I don't get this problem. Is this a bug or is there something I should be doing differently with a collection class in a dll Traditional, non-generic collection classes a ...Show All
.NET Development Setting ScrollBar width
Hi, I am using a ListView in my application, it is having scroll bar as the number of items in the listview is greater than the height of the ListView, now the width of the scroll bar is set as same as there in the windows display property. But i want the width of my ListView's scrollBar to be much lesser than what is set in the window's display property, how shall i set the width of the Vertical scroll bar Please suggest me some solutions. Thanks and Regards, Benin. ...Show All
Visual Studio Crystal problem
Hi hopefully someone will be kind enough to help. I am using a crystal report viewer to display my crystal reports. I initially run a store proc to populate a table which I need to become the source of the report I wish to display. However, when the report is displayed, it always shows the data from the table that the report was based upon when designed and not the new data table. I have tried both the below methods to change the report data source but to no avail. Private Sub btnCreateReport_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCreateReport.Click Cursor = System.Wind ...Show All
Windows Forms MDI Parent Border Style
Hello, When my Main top-level window is not MDI, all of the different borderstyles can be used. But when it is MDI the border becomes 3D and cannot be changed. I would like to have a main MDI window without 3D borders, like the Sizable border. This was possible in Win32 - is it possible here Thanks very much. Regards, Clayton ...Show All
