Joe_Z's Q&A profile
Microsoft ISV Community Center Forums Outlook Contacts
I have a load of contacts in Outlook, however when i go to send a mail none of them come up. Therefore i have to copy and paste them when i am writing a new mail. I have checked that the contacts folder is selected. This is a works email system, the Global address list using Exchange works fine but my personal one doesn't. Can anyone help I found that if you go to the CONTACTS tab and right click on the "contacts" in the top left hand menu pane you can change the properties. Within the properties is a tab "Outlook Address Book". Make sure this is ticked and you can go to your "new mail" and you can now see your personal addresses as well as the global address book.!! ...Show All
Visual C++ Pls Help. Urgent!!
Hi Everyone, Currently I having a problem on pass vb string into c dll. I sucessfully pass the string to the c dll and return the whole string with the codes below: c code to create dll char *ccDecrypt( char *str, char *ostr ){ return str ; } vb code Private Declare Function ccDecrypt _ Lib "C:\Documents and Settings\fpca\Desktop\dll\TestDLL\Release\TestDLL.dll" _ (ByRef str As String, _ ByRef ostr As String) As String Private Sub Command1_Click() Dim deCard As String txtDe.Text = ccDecrypt(txtEn.Text, deCard) End Sub But when i change the str in the c code to str[0], it throw me error... can anyone suggest how to solve this problem The ...Show All
Visual Studio Express Editions Replacing Text with Text from another form
For my program I need to be able to take text from one text box where the user will enter information and include that in a text box with information. (ex. for an aircraft callsign, Cessna N4734W is entered in a textbox on one form, then when they are viewing another form, the text wil need to have the callsign in the info - Cessna N4734W, requesting takeoff - or something among that sort.) I also need to know howto make it so when a button is pressed, that information will be entered into a textbox. The textbox where the "request takeoff" part is a masked textbox. This is a major part of my program and I need any help anyone can provide me with! Thanks it doesnt grade, it just tells them ...Show All
Visual C# project cannot be started directly!!
hi all I was searching the net and I found a project and when I tried to run it I gotthe following error: "A project with an Output Type of Class Library cannot be started directly. In order to debug this project, add an executable project to this solution which references the library project . Set the executable project as the startup project." can anyone help me in this issue because I've never used c# bafore Thanks in advanced for help micvos wrote: You tried to run a dll as a program, which is not possible. You'll have to start the exe. In your solution explorer go to the application that is the main program, click right and choose "set as startup project". it ...Show All
Visual Basic Displaying Information in a textbox
I have a form that displays various fields from one table. Of those fields there are a few that are just ID's where their descriptions reside in another file. I would like to display the description in the textbox versus the ID. The user relates to the descriptions better and understands them. I know how to do this with a drop down box but I don't want the user to be able to change this field on this particular form. I only want them to be able to view it. My direction was to go with a textbox and make one of it properties read only. If anyone has any suggestions or ideas I would appreciate it. Thanks I am useing the textbox option and I have it enabled (read only) but the problem is I can't get it to display the corresponding ...Show All
Visual C# DllImport from C#
Hi All, I have finished my hard job of porting a VC6 project to VC8 but now I have a problem in using functions from C#. This is the declaration: [ DllImport ( "Test.dll" , CallingConvention = CallingConvention .Cdecl)] public static extern int MyFunction(........... ); but when I use MyFunction I have following error: System.DllNotFoundException : Unable to load DLL Test.dll': Routine di inizializzazione della libreria di collegamento dinamico (DLL) non riuscita. (Exception from HRESULT: 0x8007045A) Thanx in advance for your time! Marcello The function name in the DLL maybe decorated ie. not exactly "MyFunction" but something like "MyFunction@@YAHD@Z& ...Show All
SQL Server Virtual Labs - No Connection message
A couple of us are trying to use the SQL Server 2005 Virtual labs at http://msdn.microsoft.com/sql/ . We complete all the prelim steps successfully but when we click on "Start the Lab" we get a blank page with "No Connection" in the middle. The clock ticks and the system thinks we are doing the lab. How can we get a connection or is the server down or are there no available resources left Great news!! The next ActiveX control is coming out tonight. Please try Virtual Lab again and see if it fixes your problem. NOTE: When you login, it will seem as if you don't have the activeX control installed and will prompt you for a new installation. This is an expected proced ...Show All
Game Technologies: DirectX, XNA, XACT, etc. ContentManager & Texture Loading Problems
Sorry if this may have been addressed, but I havn't been able to find anything about my particular problem. I am building a game development tool with XNA because I like its ease of use and it helps cut development time. I would like to be able to load a texture from any folder or network drive via the openfiledialog, but if I try something like : texture = content.Load<Texture2D>(openFileDialog_Main.FileName); I get an error: "error loading. file not found". I am still new to C# and XNA, so it could be a misunderstanding of how things are done. It would be great to be able to load textures like this as many artists keep their texture content in various locations. I am also trying the simpler method of : texture.fromFile(G ...Show All
Visual C# read from Cisco router
is it possible to read the configuration stored in cisco router using C# How i want to read thd configuration file directly withouy telneting for example.. i want to show the version of the router IOS on my form directly instead of telnet->show version ...Show All
.NET Development force garbage collection
can we force garbage collection to be run A single garbage collection does not guarantees you that all unused memory is reclaimed since the finalizers are not garbage-collected You must do the following to be sure that all available memory is claimed back: //Force garbage collection. GC.Collect(); // Wait for all finalizers to complete before continuing. // Without this call to GC.WaitForPendingFinalizers, // the worker loop below might execute at the same time // as the finalizers. // With this call, the worker loop executes only after // all finalizers have been called. GC.WaitForPendingFinalizers(); //Forces another garbage collection. GC.Collect(); ...Show All
Windows Forms Cannot publish website ASP.Net 2 after installing SP1. Getting: Index was outside the bounds of array
I'm getting the above error, when trying to publish my website. It writes into the Output Window and stops Any solutions Ken you maybe best asking the question here perhaps, since its more of an ASP.NET related question: http://forums.asp.net/1020/ShowForum.aspx you may also get a response in this subforum as it deals with clickonce/setup/deployment projects/scenario's and you would get more attention. Dont worry, someone will help you :-) ...Show All
Visual Studio Team System Running Nightly Build if code has changed
I have a TFSBuild project which I have scheduled to run every night. Thsi si just done using Windows Scheduler to call the TFSBuild command line to run the Project. However I would like it to only run the Build, label etc if any code has been changed and checked in. I was thinking of using the 'tf Diff' command line to give me a brief list based on the label from the last build. But when I specify the Command: tf diff <filespec> /r /format:brief /version:L<label> I get a message saying "There is no pending change for '<filespec>'." If I use a Date for the Version it works. Could someone give me some suggestions as to why I get the '..no Pending changes..' message. Also what would be the bes ...Show All
.NET Development XSD.exe generation of <remarks>
When one uses xsd.exe to generate class files from an XSD, it inserts empty <remarks> comments above each member. These do not seem to be persisted back when one uses xsd.exe to generate an XSD from the generated class. Do these sections get filled from a particular attribute or element in the XSD If not then why are they there I think the main reason most code generaters (xsd.exe, wsdl.exe ect.) make empty <remarks/> is to avoid warnings from the compiler about missing documentation. For that reason it makes sense that it isn't persisted back to the XSD. ...Show All
.NET Development Getting WebException on every other attempt to UploadData
Hi, I am trying to POST data to webpage. My code below works fine the first time, and I am able to read the response. But on the second execution of the same code, I get an error that says: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server. When in debug mode, the exception occurs and it stops on the line: Dim res As Byte () = web.UploadData(strWebpage, "POST" , byteJobDetails) But, I can tell it to step to next line, and it completes the code and the data is actually posted to the webpage. After the second attempt complains with the error, I am able to run the same function again and it works fine (fails the fourth....). Shouldn't web.Dispose() ta ...Show All
Visual Studio List of updates included in the SP1 for VS 2005
Where can I find a list of included updates The KB-Entry doesn't exists and the only known list is for the Beta of the SP1. Andre Andre.Ziegler wrote: Thx, for the List, but this is the list for SP1 Beta. The final is afaik another KB. I also wonder that my VSS 2005 still has all RTM files and no updated one. This is strange. This KB has been last updated the 15th December for the SP1 RTM. Where do you see it is for the Beta SP because I don't see that anywhere. ...Show All
