Larkin Y's Q&A profile
Visual Studio Tools for Office JournalItems: Adding Contacts and Companies
Could someone please post some example code for creating a new JournalItem associated with a Contact Attempting to set either the ContactNames or Companies properties is seeming to have no effect. We have a large Access database of customers with an associated phone log that we're trying to get into Outlook. Without the ability to programmatically link Contacts and JournalItems, we are dead in the water! As always, any response is extremely appreciated. Thanks ~ jp It is a known issue, and we all just use the Links collection as of Outlook 2000. The ContactNames property was important and usable only in Outlook 98. It became obsolete in Outlook 2000. Going forward, here is a list ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How modify vertices of a vertexbuffer? (C++)
It’s my first post here so i’ll try be as much clear as i can. I’m using directx SDK 9 with C++ (native) on the Visual C++ to try build a app that loads a mesh created on 3d studio max and manipulate (refresh to be more specific) some points of vertices of the mesh (try imagine my mesh be a cone, and the top of the cone have a point that ’ve coordinates 1,1,0), all the vertices ’re filled on the vertexbuffer, and i want to refresh that coordinates to 2,2,0. The question it’s how i modify the points (vertices) of my mesh (the cone), i tryied just acess the buffer using the lock and unlock, but the points of the buffer dont refresh. Another question, if i load a mesh, and wants use a lot of them i use a array of ver ...Show All
Visual Studio Express Editions Error: Shortcut Activation Over Network is not Allowed
I published a program on a server so that everyone on my network can access the setup file and install it on their computer. The setup prgoram workes great by installing the program but the only way I can open the program is by going to the start menu and clicking on it from there. If I create a shortcut anywhere else, I get the error message "Shortcut Activation Over Network is not Allowed". How do I allow it Or can I publish the program and put the .exe file somewhere else Or should I not publish it, but rather do something different The user installs the program and the program automatically puts the executable on the start menu. I just want the user to be able to right click and " ...Show All
.NET Development Help with DES Encryption & Decryption using C#.Net
Hi, Could you spare some time to help me with a small problem I need to perform encryption and decryption using the DES algorithm. This is the way I want the program to work : My form has 4 textboxes - 1) tbPlaintext --- For the user to enter the plaintext 2) tbCiphertext --- For displaying he ciphertext 3) tbKey --- For displaying the key 4) tbIV --- For displaying the Initialization Vector and 2 buttons - 1) Button1 --- When clicked performs encryption using key form tbKey and the IV from the string - "init vec" 2) Button2 --- When clicked performs decryption using the key in tbKey and the IV "init vec" The user enters the plaintext -"Hello wo ...Show All
Visual C# What is the difference b/w running 2.0 web sample by directly pressing F5 key and CTRL+F5 keys?
Please let me know the difference between running 2.0 web samples by directly pressing F5 key and CTRL+F5 keys. Every time while I run the new web sample if asks both the option like “ Run with out debugging ” & “ Add a web config file with debugging enabled ”. I have a web config file globally in root directory. So I need to disable this option and run all the samples with out debugging. Thanks in advance. Actually, at run time, ASP.NET uses the configuration information provided by the Web.config files in a hierarchical virtual directory structure to compute a collection of configuration settings for each unique URL resource. So, before start it up the web.config knows nothing about it, it is about IIS se ...Show All
Visual Basic Ngenning and protecting the code in an image
I'm writing some code that I want to be secure. I have stored data that I need to be uber secure. It's not a problem to encrypt the data. But the problem is to protect the code that manages the secure data. If I use reflector to dissemble my code, the dissassembly is magnificent and everything is right there. Using a c++ dll is not a solution because I need to call clr functions and once I've done that, the code is wide open to disassembly. Ngenned code is supposed to be dissassemable. But ngenning leaves the original image around, I suppose to activate the code that is placed in the GAC by Ngenning. Microsoft uses ngenned assemblies in their products. VS2005 is installed and then ngenned. But they don't leave disassembable im ...Show All
.NET Development Exception on Application.Exit()
Hello, when my application shuts down via Application.Exit() I get a message box with the text ["unknown software exception" 0x80000003 on .....]. In the application I use DirectShow (via directshow.net) and managed DirectX. Besides that I start a tcp listener in a seperate thread but gracefully close it via thread.join(number of milliseconds). This exception did not pop up 5 days ago. Does somebody know where I can look at when debugging or just a few hints where too look at in the internet or sdk Thanks in advance, Armin You can use the Debug Diagnostics Tool from the IIS Diagnostic Toolkit to capture a memory dump during a crash. But if you have the code - Run in debug and stop on fir ...Show All
Visual C++ im sure there's a way to do this
I have a variable of type long double and i've heard that c++ is accurate up to the fifteenth digit. Well, I'm writing a WIN32 console application and I'd like if I could output this variable to as many digits as possible. I'm sure there's an easy way to format decimal output isn't there the statement cout << variable << endl; only outputs it up to 6 digits, which isn't enough for my purposes. Can anyone help me with this thanks, vicarious cout has a default floating point precision of 6 digit. You can verify this by calling cout<<cout.precision(); You can set the outut streams precision by calling cout.precision(new_val); where new_val is the floating point precision you desired. HT ...Show All
Windows Forms does datagridview.datasource override datagridviewcombobox.datasource?
Hey Ya'll, I'm wondering if it is possible to set the datagridview.datasource to one datatable and then set the datagridviewcombobox.datasource to another datatable that is not in the same dataset as the first datatable. I've been able to set the datasources to two seperate tables as long as those two tables are in the same dataset, but I'd rather have the two datatables as stand alone data sources and not part of a data set. Is this possible So far I've been unsuccessful. Thanks is advance! Dave OK. So I've answered my own question. It seems I wasn't setting the datagridviewcombobox.datapropertyname to that of the datatable. Now my problem is that the two datasources are disconnected. That is, when the grid datasource is p ...Show All
Visual Studio 2008 (Pre-release) Binding issue with deep clone
Hi All, I am currently having an issue when I tried to deep clone the object that bound to the UI, below is the xaml file < Window x:Class = " Desktop.CustomerList " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " xmlns:local = " clr-namespace:Desktop " Title = " Desktop " Height = " 300 " Width = " 300 " > < StackPanel > < local:CommandListView ItemsSource = " {Binding Path=CustomersView} " Command = " {Binding Path=EditCustomerCommand} " ...Show All
SQL Server Table: Display page overflow in separate coloumn (same page)?
I have a simple phone list report that I would like to display on a single page. The number of rows cause the report to take up two pages. Is there a way to force the overflow to be displayed on the same page in a separate column I was able to get this to work once the report is exported to .pdf by setting the Columns property for the body of the report to 2 or 3. The only thing is, in the viewer is still is being displayed as a 2 paeg report which forces the user to Export... Any other ideas David ...Show All
Visual Studio SKU011.CAB solution
Go into Registry Editor (Start, Run, "regedit"). Go to HKEY_LOCAL_MACHINE, Software, Microsoft, Office, 11.0, Delivery. There should be only 1 directory under Delivery, which is your DownloadCode (mine was 90000409-6000-11D3-8CFE-0150048383C9). Select that directory. On the right side of the screen, right-click on CDCache. Change the value to 0. honestly works with out a hitch. I followed your directions but was unsuccessful!! There is as you indicate only 1 directory under delivery but the number differs from yours - however on the right side of the screen under DownloadCode that number is the same as yours. I am puzzled as I was under the impression the directory under Delivery would be the same as the number on t ...Show All
Visual Studio How to create a window just like "Go To" Command window
In Vs.Net 2005, I can implement CreateToolWindow2 create new window with User Control and can not with the Window Form type.But i need create the new window just like "Go To"(in Edit menu) Command window.so ,which function or interface can help me to implement Thanks Modeless windows are created as toolwindows calling the CreateToolwindow function with a .NET usercontrol, but modal windows like the GoTo Line window can be created as Windows Forms and showing them modally. ...Show All
Visual Studio 2008 (Pre-release) Animating huge objects small distances.
I have a huge canvas with several rectangles inside, i want to move the parent canvas so all the boxes inside follow it. I've made this kind of scroll several times before but not with these huge values. It basically looks like this. <Canvas Width="600" Height="600" ClipToBounds="true"> <Canvas x:Name="scrollCanvas" ClipToBounds="false"> < < << ~50 canvases with just a plain background and no children>> > > </Canvas> </Canvas> If i place the scrollcanvas -105505090 pixels to the left and have the child-canvases in an area around 105505090 px to the right inside the scrollcanvas(so they are visib ...Show All
SQL Server Importing Data from access 2000 in SQL
Hi All, At the moment i have a piece of software that uses Access to store the data into a number of tables. I am developing a new piece of software that has been built around SQL express and need to upgrade users that are using access. I have managed to write the installation to install etc and also the start of a script to insert all of the tables. I cant work out how to get the data into SQL express using a script. Basically the access db (CentralDb) will be stored a a given location C:\Program Files\CentralDB.mdb The tables within the SQL version are indentical to access but i need a way of pulling out the information stored and putting it into SQL, and as there is no DTS i am becoming stuck on how to automate the proce ...Show All
