smtraber's Q&A profile
Visual Studio Tools for Office Using webservices fro infopath forms in MOSS 2007.
Hi, I am currently working on infopath forms in moss 2007. I need to retrieve and submit data from infopath to a webservice. I am able to do so in the offline mode, but when I publish the infopath form to sharepoint and open the infopath form in browser i receive an error that the form couldnt be submitted successfully. What could be the possible reason for this I have given automatically deterime security level trust setting to the infopath form coz if I give it full trust it cannot be published to the browser. Can anyone please help me -Thanks and regards, Bhavana Bhat bhavana.b@tcs.com I experienced a similar problem from a Word VSTO document that calls a SharePoint web service. I ...Show All
Software Development for Windows Vista Vista secuity disallows hyperlinks in Outlook 2007 Beta 2
As my subject line indicates, I am using Outlook 2007 Beta 2. It ran very smothly under WinXp Pro SP2. Under Vista (build 5600) however, I am having a bugger of a time with hyperlinks in emails. When I click a link in an email, I get an error that "The operation has been cancelled due ro restrictions in effect on this machine. Please contact your system administrator" Since I am my Sys Admin, I am in a bit of a quandry. Any ideas of how to lower this part of the security level I am hanged if I can figure it out. Thanks in advance Jeff Kincaid try this: http://www.cnblogs.com/CrazyCoder/archive/2006/09/06/496187.html good luck ...Show All
Microsoft ISV Community Center Forums Word: Normal.dot template menu bar
I have programmatically modified the Normal.dot menubar (adding more dummy options), and I want to get rid of all of them, permanently, to return to the original state and appearance of Normal. dot.... How can I achieve that, please thanks HI I am new to this and would like some advice. I purchased a new Vaio laptop and wanted to remove the MS Works and replace it with MS Office 2003 Professional. The OS is windows XP Media centre (XP Professional) I used the add/remove facility in settings/add/remove. Office started ok and it wasn't until I tried to customize the toolbars in word that I found a fault. The customization settings to the toolbars be they Formatting, standard, etc could not be retained. If I added or r ...Show All
Windows Forms prevent focus steal
Hi, I woulds like to know how to make an application that has always the focus. Example: the application covers the screen, it's set to allways on top, but if you press Windows key, is shows the menu, I would like to know a way to prevent this from happening. I tried this: public partial class Main : Form { public Main() { InitializeComponent(); this .LostFocus += new EventHandler (Main_LostFocus); } void Main_LostFocus( object sender, EventArgs e) { this .Focus(); } } But it doesn't work right. I want to make my application like an Lan-House application were you have to login and every thing is protected. you may need to use Low-level Windows API hooks to t ...Show All
Visual C++ Trouble with scrollbars and mfc sliders
Hi everyone. I am making an application and using the dialog design with common controls for it. I put a slider in, but to use it I needed to include afxcmn.h and when I do this i get three link errors: 1>Linking... 1>nafxcwd.lib(afxmem.obj) : error LNK2005: "void * __cdecl operator new(unsigned int)" ( 2@YAPAXI@Z) already defined in LIBCMTD.lib(new.obj) 1>nafxcwd.lib(afxmem.obj) : error LNK2005: "void __cdecl operator delete(void *)" ( 3@YAXPAX@Z) already defined in LIBCMTD.lib(dbgdel.obj) 1>.\Debug/CharICS.exe : fatal error LNK1169: one or more multiply defined symbols found So next I put a scroll bar in instead but whenever you scroll the bar it just resets to the far left. If anyone can help me with thes ...Show All
Visual Studio Express Editions URL?
I have been asking about this a few times and gotten no answer to my question. I have a tabbed browser with no url textbox(for input). I want to however display the url of the current tab in a textbox or a label. So I can use for instince. If URL = "http://" then Webbrowser1.navigate("http://") EndIf well right now I can say that this is bad - to have your own navigation system to login the user or redirect them since the website could change - meaning links in your application would be invalid. Still, best to let the user type in the url etc... as you do in internet explorer for example. however, you need to know: the url of the login page the unsuccessful l ...Show All
.NET Development AS400 and Microsoft Access - Required Columns question
We are running an AS/400 program and MS Access 2000 with client access odbc. We can link AS/400 tables to the MS Access database, but in every table in MS Access, every column appears to be required, so we are not allowed any null entries in any column . We are not sure if this is an AS/400 issue, or an ODBC Issue or something else. We would appreciate any comments/suggestions as to what to look at in this case. When directly accessing the tables on the AS/400, it is possible to leave null values. I'm not experienced with the as400, however with access 2000 and linked tables only limited properties can be manipulated through access on the linked table. I've just tested working with some linked ...Show All
Windows Forms DataGridView, BindingNavigator: Adding new lines, NoNullAllowedException
Since I work with .net 2.0 databinding I run into one problem after the other. Unfortunatly things that should work in a nice way only do on the surface but not in detail. At least that is my impression. The AddItem Button of the BindingNavigator seems to be unusable. I hope I am wrong and there is a way to solve the problem. To reproduce the problem: 1. Add a DataGridView and a BindingNavigator to a Form 2. Bind both to a BindingSource 3. The DataSource of the BindingSource is a DataTable that contains at least 1 column where AllowDBNull = false 4. Run the Application 5. Press the AddNewItem Button in the BindingNavigator 6. Press the AddNewItem Button in the BindingNavigator 7. NoNullAllowedException occurs I did not find a way to ...Show All
Visual Studio Team System CTP5 - Writing updates to a DB project
I have downloaded the CTP5 and used it to a certain extent. I am happy to see some of the improvements as compared to CTP4. The 'Import Script' feature is very useful. As we all know that we can compare two databases by selecting one as the 'source' and another one as the 'target' . Once the comparison is done and the differences are selected, we can 'Write Updates' to the target to make it same as the source. However, I would like to suggest the development team to provide 'Write Updates' feature for the database project also. The most common scenario is when a developer creates new tables, strored procs, triggers or other objects on his local database, the developer should be able to compare his local database with the database projec ...Show All
Visual Studio Express Editions Grab the users AD name
Is there a way to grab the users Windows name I am on a company Active directory. I just want to display this in my application. Like welcome john doe! and latter do some authenticaion with this. thanks Who deleted my post noting that Amedilyas has been marking his own posts as answered even when the Answer in incorrect I saw this happen last night. ...Show All
Visual Studio Close file without saving
VS2005/C# I just did quite a number of undo steps in a codefile and then figured I shouldn't have. So I hold Ctrl+Y ..but it didn't redo all undos. I then figure I could just close the file and reopen it. But ofcourse I 'forgot' that Visual Studio tries to 'help' the user. Because I opened the file trough the solution pane and it appears to have saved the file after all. But in the file-tab it does mark the file with a '*'. So it knows I changed the file without saving. 1. Is there any way I can get the real unedited file back. 2. Is there any way I can make VS NOT to save a file when i close it Thanks. Hi, Just tried to reproduce the problem: created a new winform project edit ...Show All
Windows Forms Set 'visible' property to 'false' for all the opened forms
Hello, I want to pass over all the opened forms of my application and set the visible property to false, if the form was shown. How can I do that Thanks. You can use MdiChildren property of your main MDI form and loop every item in that array of Form items and set their Visible property to false. This is a way when you have MDI form and you can get all open child forms. If you don't have MDI parent - Mdi children's application, then you should create that array by yourself and then loop that array. ...Show All
Windows Forms Can I generate a managed resource DLL at run time?
Reading through the .NET 2.0 documentation, I get the feeling that the answer is yes, but I can't find the steps I need. I am developing for Windows Mobile, and have a need to provide two different types of multi-lingual support. One is typical translation from English into other languages, which I can cope with quite easily using all the design time features of VS 2005. The other kind of support I need is not so much for the language in use, but rather the terminology. The system I am developing 'plugs in' to several different packages, and we would like the screens on our mobile application to use terms that match the clients' existing back-end systems. For example, what one product calls an 'Account', another will call a 'Clien ...Show All
Windows Forms Displaying Status Messages to Avoid Not Responding Message
Hi, i have a windows application built with visual studio 2005. I simply have a textbox and a button. When you enter some text and click submit it does alot of calculations and takes some time to process. However after a while i get a not responding message appear therefore i figured i would display a message to the user everytime a calculation is made to help it out. I come from an asp background where i would normally use response.buffer to write the contents out to the page. How could this sort of affect be done with .net and what control would you recommend i used to write the results too so that i could scroll through the outputted results Appreciate your help. Thanks Check MSDN for the Back ...Show All
Visual Studio Item Template: IWizard "ContainingProject"
Hello! I am currently implementing an Custom Item Template, which uses some code within class that implements IWizard. BTW: It is really amazing how easy it is now to add own Templates (compared to the old .vsdir, .vsz Files and the COM Interfaces). But I have one Problem: How can I get a reference to the Project in which the new item will be added from the IWizard.RunStarted Method For my template to work it is nesserary to get some properties from the containing project. A workaround would be to wait for the "BeforeOpeningFile" event and replace some placeholders "by-hand", but this would be a very "evil" workaround. Any ideas The only scenario where this might not work, is if you're progra ...Show All
