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

Software Development Network >> Amit Vyas's Q&A profile

Amit Vyas

Member List

Robert Kozak
Raphael Chan
JPATEL
stak32
Dedal
яeverser
Maclau
altamash
Michael_75
Ton vd Pol
emike
Rajesh Kumar Revelli
Chris Honcoop
tizza2k
jb2178
Ather.
oaix
BhuttCrackSpackle
Adraw
elwood00
Only Title

Amit Vyas's Q&A profile

  • Visual Basic Checking Status of Com-Ports

    Hi., I like to write a little programm, which does nothing else but indicating if Data is on the wire of the port Does somebody know how to check, if there is something transfered on a serial port, without opening the port itself I think that there could be a possibility to check the status of the operating -system, but not sure. Thx, Torben Chicken-and-egg problem: the data disappears if the port isn't open. Even if the device is sending, it doesn't go anywhere so you might as well say there is no data. At the hardware level you could look in the UART's registers but Windows doesn't let you do that. ...Show All

  • Windows Forms Sample Code for "Solutions to the Most Common Windows Forms Development Challenges" presentation

    Hi all, I've been looking for the sample code of a presentation delivered at TechEd (DEV347 Windows Forms: Solutions to the Most Common Windows Forms Development Challenges) and as a webcast. On the TechEd's version Scott Morrison said that the code would be available at Comnet( ) and at the webcast he told it would be available at www.windowsforms.net but I haven't been able to find it anywhere. Does anybody know where can I find it Thanks in advance, Alfred Myers Here's the blog of a team member that posted the PowerPoint slides of the presentation. Send him an email... ...Show All

  • Software Development for Windows Vista WinForm Top Border Overlapping with Control

    Hi Guys! I am having problem on vista with Winform my all dialog getting overlaped with the control. I have few control on form the label control on the top of the form is getting overlapped with the top border of windows only on vista. Is there any fix for this kind of problem. Thanks Sharad ...Show All

  • Visual C# C# Project in Platform Builder 6.0

    I have a C# application that I need to include in a WinCE 6.0 project using Platform Builder. I have tried 2 routes: 1. Create a "sources" file for the project. This has met with limited success. I can successfully compile the project, it gets built and included in the NK.BIN file and is present on the target device when I boot it up. The problem is that resources defnied in the *.resx files are not finding their way into the executable. I have tried every documented sources variables with no success. I've also tried some undocumented variables gleaned from makefile.def, but still no luck. Does anyone have an idea 2. Create a modified makefile to build the executable. This doesn't seem to work at all and the CE build pr ...Show All

  • Visual Studio Express Editions 3-pane explorer: docking existing split container in new split container

    I would like to create a 3-pane explorer-type form. The upper part of the form will be the standard split container with a TreeView on the left and ListView on the right. The lower part of the form will contain additional information about the item selected in the upper part. The best way to do this seems to be to have a split container with a horizontal divider, and dock another split container (with the default vertical divider) in the upper half. I know I can create this from scratch in by designer mode, but the Explorer Form template gives me almost all I need, and I would like to start from that. The only thing I need to change is to add a split container with a horizontal divider and then dock the Explorer Form's existing split co ...Show All

  • Visual Studio 2008 (Pre-release) ListBox ItemTemplate Wrapping and others

    Hi all, I have the following troubles with my first xaml application and I would welcome any advices on them.... I have a xml with items like: <items> <SectionID>29</SectionID> <Title>Mezinarodni grant AVMEDIA-SMARTBOARD</Title> <Preamble> very long line of text next line of text </Preamble> <Time>2005-01-16 16:23:52</Time> </items> and I'm populating the ListBox using: <ListBox Name="ObjectList" ItemsSource="{Binding Source={StaticResource xmlItems}, XPath=/VeskoleOffline/items}"> <ListBox.ItemTemplate> <DataTemplate> <StackPanel> <TextBlock> <TextBlock Text="{Binding XPath=Title}" FontWeight="Bold"& ...Show All

  • SQL Server SSIS Package Execution Failed within ASP.NET Web Application

    Hello All, I have a SSIS package which run well when stand-alone. However it was failed when executed from .NET web application. It just simply return Failure. Code snip below: Dim packagekgResults As DTSExecResult ......... packagekgResults = package.Execute() Environment: Windows 2003 Shared Server, IIS 6.0 Any idea Thanks in advance! Tina My psychic powers say the ASP.NET application is running under different credentials compared to stand-alone execution, and don't have access to all data sources. But if you want more reliable information, you'll need to collect at least some basic error information - use SSIS logging, either via SSIS log providers added to your package, or IDt ...Show All

  • .NET Development Scripting an ACCESS Database

    I need to create an ACCESS database in an application. I have the code working that creates the blank database file. Now I need to build the structure (e.g. tables). I have a prototype of the database that I need to create that I manually created in ACCESS. Is there any way to automatically generate the T-SQL CREATE TABLE statements based on this existing database Thanks, GTNovosel. To expand on what ahmedilyas said, you can use the GetSchema method to do this in .NET 2.0, or you can also use the GetOleDbSchemaTable method that exists in 1.x as well. If you are using 2.0, I would recommend using GetSchema, as it's easier to use and doesn't require as much native OLE DB knowledge like the older method does. I don't know ...Show All

  • Visual Basic Exposing a property to the IDE's Properties Explorer?

    I'm building a UserControl that's basically a colorgradient display with a Gradient-StartColor and a Gradient-EndColor in particular, and I would like those colorproperties to be listed in the Properties Explorer during designtime, similar to the BackColor and ForeColor properties of built-in controls. How can I expose an object's property like this Hi Add public get and set properties of type System.Color and visual studio will figure out the rest. eg Public Property GradientStartColor As System.Color Richard ...Show All

  • SQL Server An error was encountered in the transport layer

    I am fairly new to SSAS 2005. I have just created one cube. I was able to create an Excel pivot table that connected to this cube and had all the funtionality that I expected. I then published the pivot table as a web page. When I view the web page on the server where SQL 2005 is loaded the web page comes up with all of the expected functionality. But when I try to view the web page from another computer on my network I gett the error The query could not be processed: An error was encounted in the transport layer The peer prematurely closed the connection. Any suggestions on how to proceed. Hi, I'm having a similar problem except it's less consistent (*si ...Show All

  • SQL Server Problems working with Many-to-Many relationship

    I'm trying to report on Doctor transactions and Doctor Credentials. A Doctor (dim) has many transactions (fact) and a Doctor has many Credential (dim) records. I have tried setting up the Credential/Fact relationship as snowflake through Doctor, referenced, fact and Many-to-Many. Everytime, instead of getting the specific credential records associated with the doctor, I get all possible credential types (cartesion product). Thanks for the help, Dave The Doctor table has a DoctorKey (PK) and the Credential table has a DoctorKey (FK). I have tried setting up the Credential table as a Measure Group and Fact dim, but the result is the same. On an example Doctor that should only have one Credenti ...Show All

  • Architecture Architecting Application?

    Dear All, In my career, i am in a transitional stage - moving from developer to managerial position and prefer Technical Manager/Architect. To master Architecting, need to know the following: 1. Is there any certification/course to master Aplplication Architect, including UML and applying Design Patterns 2. Can i have some sample/actual copy of 'High Level Design' and Low Level Design Document for an Application/Solution 3. What is the difference between 'Technical Architect' and 'Solution Architect' Or, are they same Thanks in advance for the advise/help. Regards, ravi Books and links that may help: http://realworldsa.dotnetdevelopersjournal.com/net_20_patterns_architectur ...Show All

  • Visual FoxPro Execution of function or command is not allowed in context of SQL command.

    Hi; I got this error when I try to issue a quit command from my error trapping routine. Clicking help (Just like many other cases) is no help at all. I couldn't find this error anywhere in the VFP help or in google... Any ideas why this happens, and how I can avoid it Thanks. >> SELECT SUM(qopen)FROM krcbp!polgr; WHERE design = tmpcpo.design AND size = tmpcpo.size AND qopen <> 0; INTO CURSOR curPoSum This query looks a little odd, shouldn't the "tmpcpo" table be included in the FROM clause Without a join condition you could get the wrong answer unless the table has only one row. If it does have only one row, then you should really get the values into var ...Show All

  • Software Development for Windows Vista DNS Suffix not working

    I'm having problems with Vista's DNS Suffixing: - My entire network has the dns suffix : work.intranet and I have a BIND dns server that resolves a.work.intranet and *.a.work.intranet to 192.168.0.2 so that if I ping bbb.a.work.intranet or ccc.a.work.intranet they all resolve to 192.168.0.2 (at least up until Vista) - If I ping a.work.intranet it correctly resolves to 192.168.0.2; - If I ping a it correctly resolves to 192.168.0.2; - If I ping bbb.a.work.intranet it correctly resolves to 192.168.0.2; - BUT IF I ping bbb.a it no longer resolves. (could not find host) - If I do a nslookup bbb.a it correcly resolves to 192.168.0.2 So what appears to be happening is that it isn't adding the dns suffix when the domain has more than two parts (x ...Show All

  • Visual FoxPro No changes apply after build exe

    I have add in new form, make amendment to the menu for existing project. Then I rebuild the project and rebuild the exe file. However no changes seems to apply in exe when i run the exe file in live environment. I make all the changes in my test environment, when I run the exe in my test environment the changes apply. When I put it in live environment no changes apply. I wonder what's wrong with my step on building the exe. Please guide me on how to add in new form in the existing project, make changes and generate menu, plus building project and exe file in visual foxpro 6. Thanks. First, check the obvious. Are you sure you are compiling (building) the latest forms Check the date-time stamp and the ...Show All

©2008 Software Development Network