Software Development Network Logo
  • Windows Forms
  • Visual Basic
  • SQL Server
  • .NET Development
  • Windows Live
  • Windows Vista
  • Visual Studio
  • Architecture
  • Visual C++
  • Visual J#
  • Game Technologies
  • VS Team System
  • Visual C#
  • Smart Device
  • VS Express Editions

Software Development Network >> Bob Villa's Q&A profile

Bob Villa

Member List

ShiroAmada
NisseHt
Alicuevas
bernardus
jvlake
GShaw
Shahid Mahmood
radjayanti
Ian Price
guitarmanchu
hendrikswa
Paolo Greppi
vikki_k1
Craig_inb
T-off
nimbusism
Kris_b
santhakumar
Charles Timko
Charles Salfity
Only Title

Bob Villa's Q&A profile

  • Windows Forms best practices question: setting application focus

    So there are two applications, Cow and Sheep, animals from the same farm. User clicks on something in Sheep which sends a message to Cow, who opens up a Cow.Milk form and calls .BringToFront on it. The Sheep still has focus. But, the Cow.Milk dialog is hidden behind the sheep application. I was hoping that Cow.Milk would show up on top of the Sheep app, but with the focus still on Sheep. However, the user can't see Cow.Milk until they focus anyw ...Show All

  • Windows Forms Web Service

    When trying to use Web Services in a Win Forms Project I have changed the URL Behavior of the service to dynamic and VS crashes. I have also tried to add the app.config manually and it just disappears when you re-open the project. Has anyone&nb ...Show All

  • Windows Forms Request for the permission of type System.Security.Permissions.SecurityPermission, mscorlib

    Hi All.....   I'm getting a security Exception in a Winforms User Control embedded within a web page using the <OBJECT> tag. It reads as:-   Request for the permission of type System.Security.Permissions.SecurityPermission, mscorlib, Version=1.0.3300.0, Culture=neutral, PublicKeyTok ...Show All

  • Architecture Why use an application server?

    My boss wants me to explain to him the advantages of having an application server in our web app. Currently our web app talks directly to SQL Server. What are some of the pros and cons of having an application server in this type of application --SY There are several reasons why you want to separate your User Interface layer (Web) to your Data layer (SQL Server). For example from a scala ...Show All

  • Visual FoxPro Trap F10 in the KeyPress()

    Is there any way I can trap for an F10 in a keypress event We have a legacy app which is using ON KEY LABEL to capture an F10 key press. I can't trap this in the KeyPress, I assume becasue it has the same key code as ALT which KeyPress can't cope with. Changing from F10 to another key is not an option :( One thing I can do is have a macro in effect to convert an F10 to something else and trap that in the KeyPress. Is there a nice way I can ...Show All

  • .NET Development underlying connection was closed:an unexpected error occurred on receive

    hi, webservices installed on windows 2003 is trying to access another server behind firewall. And getting this system.net exception. please let me know whts the fix for this.   thanks gouda     Maybe firewall doesn't permit packets from your network, or forbids connection to the port you're trying to access. BTW what port you're trying to use Can you specify the Ex ...Show All

  • .NET Development Expiration of Dlls

    Hi, I am a new comer to c# and .net. I am currently required to solely maintain a c# and asp.net based web application. My ex-colleague who worked on the application says that the dlls will expire this month end. He says he has set expiration dates and this is locked in an encrypted file. To decrypt and remove the expiration dates, he has to come in person, use his active USB card and unlock the code. I don't understand this. Can somebody ple ...Show All

  • SQL Server how to make the contents of tables, case sensitive?

    hi the contents of sql server tables, aren't case sensitive. and datas in them , are the same , whether they contains normal or caps letter.  for example Test = test=teST , and sql can't recogize the difference between them. how can i make it sensitive thank u for your attention Case-sensitivity is controlled by the collation that's being used by the server in the context of the query you're exec ...Show All

  • Windows Forms Clear a DataGrid

    Hi, I have an easy question (but I'm going crazy!):  I do a query and I put data in a DataGrid; if I make another query on another table (WITH DIFFERENT COLUMNS NAMES) it shows me the columns of the 1st query, too!  How can I&nbs ...Show All

  • Visual Studio Express Editions New to VB, this can't be rocket science... Object reference not set to instance of object

    Hello, I am new at this, and am trying really hard to figure this problem out knowing there is a simple solution to it! Basically I created a form that allowed me to select an item from a list box. When I selected that item I turned it into a variable so that I can do other things with it later in the program. All I want to do now is save that variable back to a new database under a different catagory. I know I might be writing this all w ...Show All

  • .NET Development Need help with web application

    I've got a VB program that i've built in Express beta 2... A user fills out a form, including an email address, and the program stores the entered data in a database, and sends an email to that address... That much works fine, but... I need that email to include a "more detailed info" link/button/something that will trigger another program that will send another email. I need some way of knowing which user clicked the link. When the record is c ...Show All

  • SQL Server Data flow is locking up

    I have a situation where we periodically maintain an updated version of some data. I select the fresh data and match it on an alternate key to the existing data, determine if its a new record or changed record, perform some transformations, and then end with either adding (OLEDB Dest) or updating (OLEDB Command) the table.  It's basically like using a SlowlyChangingDimension but much faster.  Anyway, on one of the more complicate ...Show All

  • Windows Forms Build Solution

    Hey, I was making a print functiojn in my program and I used this page to know how to do it: http://support.microsoft.com/kb/811401/EN-US/ But on one of the steps to make a dll apear I had to finaly goto the build menu and clikc on Build Solution, but there is no option that says that.... K, well, I did it all over again, I did not really do the steps(I read them again thoe), becuase I have already done those parts, but I enter ...Show All

  • .NET Development SqlDataSource/DataField Bug in 2.0 ?

    I've come across an odd situation. If someone has a table where a column name contains a space, and you generate a SqlDataSource on that column, some interesting things happen if you try to bind them. When I tried to bind, (in a GridView), the column name First Name via DataField="[First Name]", it gave a runtime error stating that [First Name] cannot be found in the sqlDataSource. Oddly enough, I took the brackets out and just sent i ...Show All

  • Windows Forms how i can draw a line on web page which is opened in webbrowser control

    Hey all, how i can draw a line on web page which is opened in webbrowser control in window's form. Thank you. Plz help me ASAP. Yes here is code i am using to create a user control, when go to draw a rectangle its back color goes black. using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Drawing.Drawing2D; using System.Data; using System.Text ...Show All

©2008 Software Development Network

powered by phorum