Software Development Network Logo
  • VS Team System
  • Visual FoxPro
  • IE Development
  • Visual C++
  • .NET Development
  • Visual Basic
  • Microsoft ISV
  • Windows Vista
  • Visual C#
  • Windows Forms
  • Game Technologies
  • Smart Devicet
  • SharePoint Products
  • Visual Studio
  • Audio and Video

Software Development Network >> meho's Q&A profile

meho

Member List

WXS123
m0
GiriKrishna
BradN
Eddie Garcia
oiTomas
Ori'
dbdog
Dave Citron
Alle
sennekeennes
juergen.b
Amritha
Tamalero
GSReddy
Ofer Gal
Visual Basic Expert
Alagu Thirunavirkarasu
Garyon
vasudupe
Only Title

meho's Q&A profile

  • Visual C# Login indipendent application

    Hi to all, I need to write an application that runs indipendently from the login of the users on Windows. The application must run in background and log a user automatically in windows when a certain event occurs (in example when I insert a smartcard in a special adaptor) and logout the user when another event occurs. Have I to write a windows service Can I open windows form (like popup) from a windows service Thank you Caioshin wrote: Indipendently of start time of the service and the application, I can't see my windows app before the login. I execute the application when the service start, but if I'm in Windows logged as user I can see my windows application (a simple popup) to app ...Show All

  • SQL Server Filter Tables According to User

    Hi, Im new to SQL Server and Im having trouble to decide wich is the best way to filter the tables that one user can read and write. For example the table Sales as a field named Branch (SMALLINT) with values 1 or 2 (the store that made the sale). User "A" can see and write only records where Branch = 1. Im developing a windows program that shows all the purchased orders in a DataGridView. So should I make the filters (permissions) in the program or in the SQL Server . I hope I made my self clear (my english is not so good) I could make a table that lists the branches that a user as access to: UserID Branch. Then the program can read and store in a variable the Branch values for the user that log on. Then all ...Show All

  • Visual C# C# - How powerful?

    I know C# is sort of like C++, but is it as powerful as C++ "Just like it's easier to buy a bigger pair of pants rather than lose weight, it's easier to go from C++ to C# (my opinion); than from C# to C++. Learning C# may make it easier to learn C++, but it will probably chaff; alot...." Yeah but that's not his problem. He Doesn't know either, and learning C++ is a pretty hard when you have little to no understanding of OOP or prgramming in general. You might chaff a little when going from C# to C++, but you will be slamming your face into a wall learning C++. ...Show All

  • Windows Forms Windows Media Player ActiveX Aspect-Ratio

    Hi, I have a very serious problem and i've been making researches for almost a week now. i need to force wmp activex to switch aspect-ratio like 16:9 or 4:3. Please it is really important and i'm a little bit out of schedule. I'm using c# technology so if anyone can help me i would really appreciate it. thank you Souhail Jabbour Souhail J Jabbour Software Developer Activemania.com ...Show All

  • Community Chat Help please

    How can i create any password to my USB (flash drive) without using any software! is it possible thanks jovert wrote: How can i create any password to my USB (flash drive) without using any software! is it possible thanks ...Show All

  • Visual Studio Relationship connector does not link

    I just started exploring DSL toolkit and ran into a strange problem. When I use any connector type from the toolbox, it does not link to any domainclass. Even if I use default model generated by MinimalLanguage template, connectors do not work either in DSL designer, or Debug sample solution. I use Visual studio 2005 Team Edition for developers, and Visual Studio SDK v3 release. I wonder if I should obtain VSIP license. Thanks in advance. The connectors should work. You select the connector, click on the source element, drag to the target element, and release. What do you see when you select a connector from the toolbox and hover over a source element ...Show All

  • Visual Studio 2008 (Pre-release) Propogating inherited DPs to the adorner layer

    I have a TextBox whose adorner layer has an adorner which contains a ListBox. The ListBox displays strings (suggested spellings for misspelled words in the TextBox). When the user spells a word incorrectly, they can press F1 to display a list of suggested spellings in the adorning ListBox. After they select a suggestion, the typo in the TextBox is replaced with the selected suggestion. That part works. I'm having a problem with visual settings. If I'm not mistaken, the adorner (and, hence, the Listbox) is not in the Window's visual tree. That means that the inherited dependency property values of the Window (let's say the FontSize property) will not propogate to the ListBox. With that being the case, how can I achieve such propogation ...Show All

  • Visual Studio Express Editions form design error

    Hello, I 've got a problem, when I try to open in design a form, an old or a new, I've got this error : One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes. No data is available. Hide at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str) at Microsoft.Win32.RegistryKey.GetValueNames() at Microsoft.VisualStudio.Shell.Design.WindowPaneProviderService.AppendWindowPanes(RegistryKey parentKey, ArrayList windowPanes) at Microsoft.VisualStudio.Shell.Design.WindowPaneProviderService.GetRegisteredPanes(String extension) at Microsoft.VisualStudio.Shell.Design.Win ...Show All

  • Visual C# GetFillParameters Problem

    Hi all, Simply i am unable to get parameters with SqlDataAdapter's GetFillParameters() method. Here is my code sample : private void button1_Click( object sender, System.EventArgs e) { SqlConnection s = new SqlConnection(@"Integrated Security=SSPI;Data Source=(localhost);Initial Catalog=Northwind"); SqlDataAdapter cmd = new SqlDataAdapter("SELECT * FROM Customers WHERE City = @City", s); try { s.Open(); MessageBox.Show(cmd.GetFillParameters().Length.ToString()); } catch (SqlException ex) { MessageBox.Show(ex.Message); } When i run this code sample i get "0" in a message box but no errors. Why can't i get the parameters in my sql code Any comments ar ...Show All

  • Smart Device Development SIP Control taking Focus away from my application.

    Hi all, I have this strange problem/issue that I have had bothering me for a while now. I have an application where the users browses through Forms to perform various bits of functionality, and then closes the form to return back to the previous form (the Form from which it was openned), and the Focus is right back with the Form that openned the closed Form (if you know what I mean :)). Now this all works fine in my application apart from in one place, where when the called Form is closed, the calling form (or my Application even) doesn't get focus back until the 2nd tap on the application with the pen. The Windows start button and Input control on the MainMenu are focused and can be activated from the first click on them, but not my appli ...Show All

  • SQL Server Report Viewer authentication

    Hello, I am trying to create a simple ASP page to navigate in the reports stored in the report server. If I work in debug mode everything is fine. The page is working and If I call for a report I can see it perfectly. If I publish the report on my test machine (Windows XP Sp2 so IIS 5.1) I see that IE is connecting me with the ASP net user and not the correct one (myself) that is authorized to see the reports. Anybody knows how to solve it Thank you! Andrea Pagliano If you need the interactive user identity to be propagated to the Report Server, in your app web.config set <indentity impersonate="true"/>. This won't work if the Report Server is ona different machine though unless yo ...Show All

  • .NET Development WebClient File Download Problem

    Hi, I am trying to download files from the web using System.Net.WebClient. The program works fine and I am able to download the files for the first time. But, when I try to run again I get "An exception occurred during a WebClient request". This behavior alternates for each run. In one of the threads, I read that it was because of keepalive property being set to ON on the webserver. Is there anyway I can fix the problem by some code changes. Here is my code sample. WebClient wc = new WebClient(); wc.DownloadFile("http://someurl/file1.ext", "C:/myfile1.ext"); wc.DownloadFile("http://someurl/file2.ext", "C:/myfile2.ext"); wc.Dispose(); Any help would be appreciated. Thanks, pravi You don't need to. Can yo ...Show All

  • SQL Server Insert Relative Columns

    So I want to insert 40 values into a table, starting at a particular column. Like this: INSERT INTO MyTable (1) VALUES (...my forty values...) Pretending that 0 (zero) indexes the first column, and 1 indexes the second column, the purpose is to skip the (first) column that contained an identity value (since normally you can't insert into an identity column anyway). The only way I currently know how to solve this problem, is to use highly verbose syntax, like this: INSERT INTO MyTable (...my forty column names...) VALUES (...my forty values...) But yuck, who wants to explicitly mention all forty column names, ONLY BECAUSE I'm trying to avoid inserting a value into the first column which contains the identity It is best ...Show All

  • Visual Studio Team System Getting build path from BuildStore?

    I am currently using the GetListOfBuilds method from the BuildStore class. I do know the buildtype to pass in. However, I'm trying to find if there is any way to ascertain which path the buildtype currently points to. We have a list of builds by product name and by environment. So, one of our buildstypes is named something like MyProduct_Dev (build for MyProduct for the Dev branch - whatever it is currently). As we create a new branch I edit the workspacemapping file to point to the new branch. This mapped path is what I'd like to be able to extract for a given build type. Can this be done via the API Thanks in advance. Umm....anybody where this elusive Build forum is I did a search at the top level of MSDN forums and couldn't fin ...Show All

  • Visual C++ How to use com in VC++2005

    I am a new guy about vc++, i want to run some vbscript in my c++ code ,so maybe i should import a suitbale com to surpport that. What should i do Thanks   Terax wrote: Ii want to run some vbscript in my c++ code ....What should i do You need to download the Windows Script Control From : http://www.microsoft.com/downloads/details.aspx familyid=D7E31492-2595-49E6-8C02-1426FEC693AC&displaylang=en And  here is an article about how to use the script control   http://www.microsoft.com/mind/0799/script/script.asp This tutorial is for a pre .NET version of Visual Basic but it gives you a fairly good idea about how to use the scripting control.   ...Show All

©2008 Software Development Network