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

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

jcvecka

Member List

Ak5intoe
msnath
dbough
Dion
A_Carina
RajMatt
Forever
ramatim
MikeR2000
Steve McAlpin
Workcover
Hooman Safaee
khalod_is
chellios
kosmik
M Kuhn
jbeary
TianYu
ArtNJ
Francis Griffin
Only Title

jcvecka's Q&A profile

  • .NET Development load 1 record into a variable

    hello all i'm quite new to vb.net i'm trying to use the online help suggestion that's supposed to load a specific table row into a variable: Dim Lnrow As paraohDataSet.LoansRow Lnrow = ParaohDataSet.Loans.FindBylID(5) (5-an existing key in my table) trying to use it to reach any value, like using this line: LID.Text = Lnrow.lID causes an error : "Object reference not set to an instance of an object." since that's exactly as it is in help, i cant find where i do wrong please help thanx Erez. You don't initialize Lnrow as far as i can see. Try to use this code: Dim Lnrow ...Show All

  • Visual Studio Interactive Sorting and preserving navigation using the web ReportViewer control

    I set up several columns in a table with 3 levels of hierarchy for interactive sorting. Whenever I am at a lower level and click on a column to sort, the web page redraws itself but it displays the levels collapsed to the top level. If I drill back down, I see that the column was properly sorted. I was looking for a property to control this but did not see anything. Any ideas Thanks. When you refresh the report, it will be reprocessed with the initial toggle states. You could look into making the toggle state dependent on report parameter values. -- Robert ...Show All

  • Windows Forms BindingSource.Find throws exception on empty DataSet

    I have a problem with a bindindingSource very similar to the problem reported here but I've tried the solution outlined (explicitly setting the bindingSource's DataSource before the call to Find) but it doesn't help me (the DataSources for my BindingSources are correct) - so there's no chance for the DataSources to get set incorrectly. My situation is slightly different because I'm adding the BindingSources from the toolbox (not by dragging tables onto the form from the dataset). My dataset has two tables "state" and "county". They are related one-to-many by relation "FK_county_state" from state to county.  'county_id' b ...Show All

  • Visual Studio Express Editions VB.net- running queries and displaying the result in datagrid

    Hi, I'm facing a problem in my coding. I have two datagrid in my form. one for loading the data from the database. and another is for searching the data in the database and displaying the result in that datagrid. can anyone tell me how to run sql queries and display the data in the datagrid, Hi, Is your problem solved Thank you, Bhanu. ...Show All

  • Windows Forms Get the designer for a control

    is there some way to from within a control get access to its designer or via one designer , get the designer of another control //Roger you can get the designer of a particular component from the designerhost's getdesigner method ...Show All

  • Visual C# usage of const

    Hi all, I am a beginner of C# language and have a question about const. Does C# allow to  use const keyword to parameter option like C/C++ After trying several times, I wonder that C# doesn't. If so, aren't  there ways to avoid the code like this : class Hoge {   .... methods or something are declared... } class HogeHoge {   public UseHoge( ref Hoge h ) {     h.someproperty = 12345;     // not problem to change some properties of h     h = new Hoge();           &n ...Show All

  • Visual Studio How do I connect Crystal Reports to an SQL Express MDF file.

    I want to connect to an SQL Express MDF database file. How do I set up the connection I don't see a way to set up the connection in the Database Expert. I tried to create an ODBC (RDO) data source by using the following connect string: Data Source=.\SQLEXPRESS;AttachDbFilename=C:\Documents and Settings\dtorg.LUMINET\My Documents\Dev\OMx\Version 1.0\Source\Src\Services\DataManager\OmxDataDB.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True I then selected the server .\SQLEXPRESS with a user id and password that I set with sp_addlogin I get the error: --------------------------- Crystal Reports ActiveX Designer ---------- ...Show All

  • .NET Development SslStream fails - switch to plain sockets...

    Hi, I have problems getting the following to run. I have client/server which communicate over SslStream. However, for older clients, which don't support the SSL yet, I still need to be able to communicate with them over plain sockets if SSL fails. So I was hoping that this code would work: [code] private static void AuthenticatedCallback(IAsyncResult ar) { StateObject state = null; try { state = (StateObject)ar.AsyncState; state.SslStream.EndAuthenticateAsServer(ar); state.SslStream.BeginRead(state.StreamManager.Buffer, 0, StreamManager.BUFFER_SIZE, receiveCallback, state); log.Info(&q ...Show All

  • .NET Development how do i validate and deserialise xml?

    I want to use the XmlSerializer to deserialize an xml data file to an object. As part of this process, I want to validate the xml data against a schema to avoid errors. My solution was to use a XmlValidatingReader to load the xml file into an XmlDocument object and validate against the schema. If the data is valid, the XmlDocument data is passed to the XmlSerializer. It works but there a simpler way Thanks Jason You can pass an XmlValidatingReader directly to the DeSerialize method of the XmlSerializer. As the serializer reads through the reader, the xml will get validated. Since the serializ ...Show All

  • SQL Server linked server: Error 17: SQL Server does not exist or access denied.

    I have two sql server 2000 with mixed mode authetication. I stand at one server and setup a linked server to the other using the same user id and password. However when I click to the Tables icon of linked server in Enterprise manager, there is an error message: Error 17 SQL Server does not exist or access denied. And It does not show any table. I register remote sql server in Enterprise manager fine. Could any one help me Thanks. Hi, What remote login did u used for linked servers. The remote login should exists on both the server. Regards Mohd Sufian ...Show All

  • Windows Forms ContextMenuStrip VS 2005 Beta 2

    I am dynamically adding custom controls to a FlowLayoutPanel.  I set the the ContextMenuStrip property on these custom controls before adding them to the panel.  They all point to the same context menu strip.  The help text states that a ContextMenuStrip may be associated with many controls so I am assuming this is OK. When running the application, right clicking with the mouse on these controls in the FlowLayoutPanel produces the correct effect, in that the context menu is displayed.  Clicking on the menuitem drives the click event for the ToolStripMenuItem.  So far so good :). However, I can not find any way t ...Show All

  • Smart Device Development ngen for Compact Framewok

    Hello, is there a tool like ngen for the compact framework And if not, why not Thanks, Marco The size of jitted code is typically 3 to 4 times the size of the original IL. This obviously has a significant impact on the available memory in a device if you are permanently storing jitted code. You could store the ngen'ed app on a storage card, but these typically have a finite read/write lifetime and are often significantly slower to read from than the in-built memory. Given the slower read rate, the performance gain at startup would be negligible by comparison. ...Show All

  • Visual C# Debug Compile Problem

    Hello! I have a C# project, a Windows forms application. It compiles without any errors, but when I compile it in debug mode, it compiles the application as it was a few hours ago. If I compile without debug it works just as it is meant to do. This is very weird since debug mode worked yesterday. Any ideas on what this could be I don't know exactly, but I think your debug version somehow not overriden by new one. I had something alike in VS6 sometimes, it had a bug - if compile was too fast, then file dates was not changed correctly and rebuild won't work. ...Show All

  • .NET Development login using LDAP Authentication

    I made a simple login using sql user table with names and passwords stored in it but what i would really want is to make intranet users login using their windows passwords. Somehow with everything i tried, i get  error with invalid server.  I think, it doesn't like our LDAP path which is flaxxx.local. I put it in "LDAP://flaxxx.local/dc=flaxxx,dc=local format  and get a message " The specified domain either does not exist or could not be contacted "  If I put any other make up server  name- error " server is not operational " with wrong password  i get the message about wrong password. It makes me think th ...Show All

  • Visual Basic view / update msi tables from vb .net

    I seen the code in vbs, but I haven't seen any examples of accessing the msi database using vb .net code. I attempted by adding a reference to the msi.dll, this created the windowsinstaller object. When i tried to open the database I couldn't b/c I couldn't create a new windowsinstaller.installer object. Am i headed in the correct direction Does anyone have an examples I could use I am using vs 2k5 pro thanks, Rick Check http://dotnetified.com/PermaLink.aspx guid=5c7f2803-e8be-40f3-b6c1-3f21412b3638 for a solution to your problem. ...Show All

©2008 Software Development Network