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

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

linzbfc

Member List

SGraham1985
MagnusJ
Preston Park
cablehead
Shouvik
patrick anguet
Moridi
DRoden
oneforall2012
zproxy
unish.patel
Asday
anshuman_atri
vbtheo
sub.0ne
Stephan Smetsers
MaggieChan
AndyMauer
DarrenSQLIS
JohnBurton
Only Title

linzbfc's Q&A profile

  • Visual Studio Express Editions Null reference exceptions

    Hi People, I've been programming for a few years now and am still plagued with Null reference exceptions cropping up. I've nearly always managed to get round them by playing about with my code but never properly understanding HOW I've fixed it and why it works but didn't earlier... Can someone please explain in noob words why the following code returns a null reference exception :- Dim g As Graphics Dim text As String Dim font As New Font("Arial", 6, FontStyle.Bold, GraphicsUnit.Pixel) Dim returnValue As SizeF text = "abcdefg" returnValue = g.MeasureString(text, font) Many thanks in advance ...Show All

  • Visual Basic Finding Length of an Real Media Audio File

    Hi, I need to find out the length (i.e. HH:MM:SS) of a rm (Real Media) Audio File from my application which I made in Visual Basic 6.0. I don't need to play it or record it, just find out the length of the file. Please let me know how this can be possible. Thanks Amad Rabtok, This was a good help, but I am still not getting the desired results. Following is the code for my application in VB 6. Please also note that I tried this in VB .Net and in the Immediate window copy and pasted the contents of the file through myreader.ReadChars(100), one by one, and found out that the file was .ra5 and also .rmf. So I think I must get the correct information. Shouldn't I Here is my code. Comments explain the results for some o ...Show All

  • Windows Live Developer Forums Wrap Text

    Can anyone tell me (newb) how to wrap the text round a pic in a pushpin popup At the moment the text comes after the pic and takes up alot of space Heres my current pushpin text: var veSouthwell = new VELatLong(53.077269761289195, -0.9560036659240723); var veSouthwellDetails = "<img src='../images/minsterextweb.jpg'><br>With its imposing Norman Minster, literary and historical connections and its famous Bramley Apple, Southwell is a place you will want to return to again and again."; var veSouthwellPin = new VEPushpin('Southwell', veSouthwell, '../images/icontowntour.gif', 'Southwell', veSouthwellDetails); vemap.AddPushpin(veSouthwellPin); Thanks John, you're an absolu ...Show All

  • Visual C++ A Missing Include?

    Dear Collective Wisdom, I am a C/C++ newbie using Visual C++ 2005 Windows Forms to try to compile a C code project developed (by someone else) in MacIntosh Project Builder. A sample of some of the error messages I am receiving are as follows: Error 7 error C2065: 'FILE' : undeclared identifier c:\FNSimulator\ReadLayup.cpp 82 Error 8 error C2065: 'inFilePtr' : undeclared identifier c:\FNSimulator\ReadLayup.cpp 82 Error 9 error C3861: 'sprintf': identifier not found c:\FNSimulator\ReadLayup.cpp 85 Error 10 error C3861: 'fopen': identifier not found c:\FNSimulator\ReadLayup.cpp 86 Error 11 error C2065: 'cout' : undeclared identifier c:\FNSimulator\ReadLayup.cpp 88 Error 12 error C3861: 'calloc': identifier not found c:\FN ...Show All

  • Visual Studio A hard one - Unable to attach to the process. Access is denied.

    Hi We have a problem debugging for a few months now, with no solution. I went through allot of posts here and elseweher and could not find a solution. we have a web application that is written mostly with ASP, some DCOM proccesses, .WSC and some new ASP.Net pages, and also .NET dll exposed to com. the web application runs under its own application pool that runs as the local system. i think that's about it :-). alas we cannot attach to w3wp of that application with managed code debugger we get "Unable to attach to the process. Access is denied." I added just about all users to debugger users and still no debug. no logs, no nothing. we run sysinternals filemon and regmon to see if something was locked and came up empty. an ...Show All

  • Smart Device Development Problem in calling DllGetClassObject in main class of Smart phone

    IS there any difference in calling DllGetClassObject method in smartphone then pocket pc. I have a application in which pocket pc version call DllGetClassObject while smartphone doesn't I edited calling card sample in sdk.When I run this application DllGetClassObject get called in both version. What could be the problem ...Show All

  • Windows Forms want to connect to dB using connectionString saved in app.config file

    Dear all, Me and my friend are new to visual studio 2005 express edition. We are trying to build a simple desktop database application. Now both of us have different connectionString to the database in our computers (which is quite obvious).At first, we used hardcoded connection strings in our apps. So it was a huge task to replace all those lines as we shifted our computers to share our works.  For compatibality,  we were trying to use the app.config file for the connectionString, which looks like : (in my computer) < xml version = " 1.0 " encoding = " utf-8 " > < configuration > < configSections > </ configSections > < connectionStrings > < add name = ...Show All

  • .NET Development Class derived from CollectionBase serialization problem

    Hello, I have a class that is derived from System.Collections.CollectionBase It holds an array of a specific class. I am able to serialize the class no problem with XMLTextWriter. Now for the problem. I have added a property to the class that I want serialized. The problem is that when I serialize it out, it will not serialize that property. All of the elements in the array get serialized but not the additional property. I have tried adding the XMLElement and the XMLArrayItem atributes to the property in attempts to get it to go out with no luck. The class itself has no XML attributes only [Serializable] What am I missing Thanks Ken If an object implements ILis ...Show All

  • SQL Server Help with SOAP Lite client error problems - CGI code

    Hi, I have been working on a soap client project for over a week now and can not figure out what I am doing wrong. I am not an expert using Perl or SOAP so any help would be "greatly" appreciated. I get basic errors throughout, starting with: Error - SOAP::Transport::HTTP::Client::send_receive: POST It seems as if the user access information is not carried through as it should, but I truly have no idea what the problem is. Here is what I have put together so far. Thanks, Mark sub procgetmemberinfo { my $pin = "$form{'lPin'}"; my $password = "$form{'sPassword'}"; my $soap = SOAP::Lite -> uri('https://xmlsql.XXXXX.xxx:441') -> on_action( sub { join '/', 'https://xmlsql.XXXXX.xxx:44 ...Show All

  • Visual Studio Express Editions Help with argumentOutOfRangeException

    Hi Can you check my code for errors, because when I run this code I get this error. Public Class Encrypt Private send As String = "" Private chatclient As Chatclient Private Sub btnSend_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSend.Click Dim var As String = txtTekst.Text MsgBox(var) If txtNick.Text = "" Then MsgBox( "Geen gebruiker ingevoerd" ) Exit Sub Else While var IsNot "" If var.StartsWith( "a" ) Then send += "01" ElseIf var.StartsWith( "b" ) Then send += "02" ElseIf var.StartsWith( "c" ) Then send += "03" ElseIf var.StartsWith( "d" ) Then send += "04" ElseIf ...Show All

  • SQL Server Date Query Parameter

    Hi There, I've only just starting working with RSS2005. I've started designing basic reports that pulls info from our HEAT DB (incident/change logging system). One of the report requirements is to be able to pull reports for calls that were logged for specific day/date, using the calllog.recvddate field in the HEAT DB. What i would like to know is how do i do this i.e. how do i setup the date query parameter so that the user can select a date from the calender picker that returns all calls logged for the selected date How do i link the date parameter to the calllog.recdvddate field Thanks, RSS2005 NOOB Thanks so much for the Reply Jarret, i tried what u said and it apprears to work. The ca ...Show All

  • .NET Development Connecting to Access Database

    Does anyone know how to connect to a access database using vb.net I created the database in access and added the Odbcdataadapter and was able to preview the contents of the database. I have a text box with a next button and a new button. Each time I click next i want to see the names that i have in the database appear. When i click new i want to be able to enter a new name in the textbox and it gets written to the database i already have with the names. Any thoughts Thanks!! You have this code: if Me.theDataSet.Tables(0).Rows.Count <= curPos then Me.theTextBox.Text = Me.theDataSet.Tables(0).Rows(curPos)(" ColumnName ").ToString() curPos = curPos + 1 else Me.theTextBox.Text = & ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. need help..

    im kinda new to xna and c# and when i tried to debug now i get some errors that i dont know how to fix lol. heres the errors i get this is what i wrote in: protected override void Draw(Microsoft.Xna.Framework. GameTime gameTime) { this .graphics.GraphicsDevice.Clear(Microsoft.Xna.Framework.Graphics. Color .Black); this .spritebatch.Begin(Microsoft.Xna.Framework.Graphics. SpriteBlendMode .AlphaBlend); this .spritebatch.Draw( this .mytexture, this .spriteposition, Microsoft.Xna.Framework.Graphics. Color .White); this .spritebatch.End(); base .Draw(gameTime); } and heres the errors: error 1 = Error 1 The best overloaded method match for 'Microsoft.Xna.Framework.Graphics.SpriteBatch.Draw(Microso ...Show All

  • .NET Development How to prevent a cookie from being sent

    I want to prevent a certain cookie from being posted from the client on each request. My app has 2 cookies. One is used in FormsAuthentification and is required throughout the lifetime of the app, the other is just used for one form, a login form, on this form I use the cookie to pick up the user details only if they have ticked a "remember me" box. When they tick the box the cookie is created and sent down to the client. The problem is all future Requests attach this cookie too, even though I only require it on the login page.. Is there any way to prevent this cookie from being posted with every request and response HttpRequest.. I had to check that twice.. by the way what's the difference Also I've just come across the ...Show All

  • SQL Server Getting Return type from Stored Procedure

    Hi all, I am trying to figure out a way to analyze a stored procedure to deduce its output type. A stored procedure can return values throught one of the following: 1) Using the Return keyword 2) Returning a recordset 3) Throught its Output parameters 4) A combination of 1, 2 or 3 Using the Information_Schema, you can access the SQL code of the stored procedure from, say, VB.Net. From there, I want to know what output type the stored procedure has. A) for 1), I guess I can parse the code for the 'Return' keyword, but that wouldn't be efficient, for the 'Return' word could be inserted into string values... B) for 2), it would be difficult to analyze the stored procedure's code to know FOR SURE whether a recordset ...Show All

©2008 Software Development Network