coolVijay's Q&A profile
.NET Development Problem with GetHostEntry
Hi, my little program shall resolve a name or a ipaddress with method DNS.GetHostEntry, but it doesn't work fine. Dim a As System.Net.IPHostEntry a = Dns.GetHostEntry(" www.netzmix.com ") With www.netzmix.com it works fine, but with a ipadress it fires a exception. Dim a As System.Net.IPHostEntry a = Dns.GetHostEntry(" 192.166.200.220 ") Following exception comes: System.Net.Sockets.SocketException: the given host is unknown. There is a trace for different targets: System.Net.Sockets Verbose: 0 : [3460] Exiting DNS::GetHostByName() -> IPHostEntry#17059405 System.Net.Sockets Verbose: 0 : [ ...Show All
SQL Server Restricting data in Report Builder
Hi guys, I have a question on restricting a data using some kind of dynamic parameter when users are using Microsoft Reporting Services Report Builder. I saw that I can set permissions and restrictions for report model items like columns, but I want the users be able to see all the columns, but the actual data that gets pulled needs to be restricted using a database table (bridge table) that assigns the users to what they are able to see. Is there anyway that the report builder can restrict the data itself using windows authentication or login so that the users can able to see their data and not others while all users having access to ...Show All
Visual Studio Team System Project Portal bug? Cannot get Discussions onto Quick Launch Bar
That's right. When I modify the settings of the General Discussion on our project portal so that it reads: General Settings General settings of this discussion board include its name, description, and security. Current general settings of this discussion board: Title: General Discussion Web Address: http://tiger/sites/Why/Lists/General Discussion/AllItems.aspx Description: Use the General Discussion to hold newsgroup-style discussions on topics relevant to your team. On Quick Launch Bar: ...Show All
Visual Basic starting interactive process from windows service
Hello there, Don't give any suggestions or ask why i need to do this because i have spent too much time with it witout any success. I have a windows service running under system account, interacting with desktop. i need to launch a Gui application written in vb.net(or any Gui app) from my service(also written in vb.net). i am monitoring a program and need to restart when/if it dies. I can launch application and it does show up the gui, user can interact with it as well but only problem is that it runs under system account and i want to make it run under current logged in user(there is going to be only one user logged in to the system wher ...Show All
Windows Forms CreateDocumentFromUrl HTMLDocument
When using CreateDocumentFromUrl on the HtmlDocument. Is it then possible to disable popups If not yhen is it possible to use an WebBrowser control without a window(see code below crashing). I can see it works fine if you dont run it in a seperate thread but I want to do it from a thread so what do I the do public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click( object sender, EventArgs e) { Thread MyThread = new Thread ( new ThreadStart (ThreadRun)); MyThread.SetApartmentState( ApartmentState .STA); MyThread.IsBackground = ...Show All
Visual Studio Team System Error when trying to build few solutions from different team project based on single label
I’m trying to build few solution based on one single label, the thing is that my label contains solution from different team projects. I get always error that the sln that in my label from the other team project is not found. Here is the log file: ------------------------------------------------------------------------------------------------------------------------------- Build started 6/19/2006 9:28:25 AM. __________________________________________________ Project "d:\build\Infra_Test\BuildFewLbl\BuildType\TFSBuild.proj" (EndToEndIteration target(s)): Target InitializeEndToEndIteration: UpdateBuildNumb ...Show All
Smart Device Development Change keyboard layout. QWERTY -> QWERTZ
Hi, we've a Pocket PC with Windows Mobile 2003 SE WWE. Is it possible to change the layout of the keyboard (e.g. from QWERTY to QWERTZ or from QWERTY to AZERTY) without changing the running OS language Thanks in advance... Greets Markus There are tools available which remap the keys on the device - check out http://www.windowsmarketplace.com/results.aspx bCatID=725&av=14-201387 ...Show All
.NET Development I dont khow how to display the XML file "professional" way
Hi I dont khow how to display the XML file "professional" way (ie like VS 2005 span in / out ) can u help me Thks a lot If you are talking about ASP.NET, one simple way is to make use of eXml Web server control with FriendlyXml property turned on. ...Show All
Visual Studio Tools for Office Where can I download Cypress?
I would like to download the cypress CTP to do VSTO development on Office 2007. However, I cannot find it at http://msdn.microsoft.com/vstudio/future/ , only VSTO 3.0 (due with Orcas). Can anyone point me in the right direction The Beta of Cypress is not available yet, but it will be based on the VSTO 3.0 CTP that is available on the http://msdn.microsoft.com/vstudio/future <http://msdn.microsoft.com/vstudio/future> page. So for now, that is what you should be downloading. ...Show All
Visual Studio Load Data designed in another model file
Hi everybody, I have the following scenario Two diferent DSL models, A and B and I want to show in a property field of B model some data designed in A model. example. I have in A a model class diagram, and in B a model that one element property field that uses the classnames designed in A diagram. Is that possible Thanks Hi Luiz, The main difficulty is keeping them in sync. We don't currently have a general mechanism so that if you change something in model A, it propagates to model B. We currently do propagation of changes within a model, so you could effectively combine them into one model by loading them i ...Show All
Visual C# Why are my Toolbox components dissappearing or unavailable?
All of the components in my Toolbox window are greyed out and my custom installed tools tab has dissappeared. The only way I can regain the use of the components is to exit VS and restart. I have made sure the components are checked in the "Customize Toolbox" window. Can anyone shed some light on what is going on mihooper, Can you please give me some more details on how you get into this state 1.) Which edition of Visual Studio are you using 2.) What project were you creating or have opened 3.) Does this happen every time you use Visual Studio 4.) What happens when you right-click on the t ...Show All
Windows Forms MainMenu Control with Color Properties
Hi, I wish they would make the next version of Visual Studio.NET with a ManinMenu Control that can have it's color property changed to match, well, whatever you want it to match. For instance, if the background of my form is red, the current MainMenu stands out too much. That's in the next version in the form of MenuStrip. for ...Show All
Windows Forms How can we retrive value of selected items from the list box??
We have used one listbox in windows form and we bind it with datasource from database. Listbox allows multiple selected. How can we retrive value of selected items from the list box we tried following thing for(int i=0;i<lstEducation.SelectedItems.Count;i++) MessageBox.Show(lstEducation.SelectedItems .ToString()); But it prints System.Data.DataRowView We couldnt find the way please help actually when we are using selectedItems.count when nothing is selected in the listbox it wont enter the forloop, bcas we are giving condition as i < selectedItems.count so selecteditems will also be 0., we need not che ...Show All
Visual Studio 2008 (Pre-release) Callback at the end of an animation
Is there any way to callback code at the end of an animation myAnimation.CurrentStateInvalidated += delegate(object sender, EventArgs e) { Clock clock = (Clock)sender; if (clock.CurrentState == ClockState.Stopped) { // the animation has ended .... } }; You can use it on any timelines (animations or storyboards). ...Show All
Visual C++ How to remove Variable to an Edit Control with Visual studio 2005 c++
Hello everyone, i want to change (or remove) a variable associed with an Edit Control. But when i right-click with the mouse on the Edit control I just have Add variable, and not remove variable . . . FFil wrote: Hello everyone, i want to change (or remove) a variable associed with an Edit Control. But when i right-click with the mouse on the Edit control I just have Add variable, and not remove variable . . . You'd have to remove the entries by hand from both the header and cpp files. ...Show All
