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

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

JuanCG

Member List

Bassam Basamad
Ush
Harry Miller
Marshaler
Leland
Vestas_Jakob!
he.lin
Nele B.
intelligentidiot
aladdinm
GNR1
aloysiusf
simmons
zhangshaolin
jebbushell
Don Jefe Leone
12thDoctor
Raju Pusapati
pppeterd
Brachole
Only Title

JuanCG's Q&A profile

  • Visual C# Hi, how do I enforce that the Denominater of a Fraction struct will not be initilized to o on creation?

    since I can't define a parameterless Ctor, the compiler defines one automatically so the denominator will be initialized to 0 and it's undesirable. Hi, You could then add a getter initialization for your denominator variable (dont set the modifier of your denominator variable to public): public struct Fraction {    private int denominator;    public int Denominator    {       get       {          if (denominator==0)          {       & ...Show All

  • SQL Server Need urgent help

    Hi I have a strange situation. We have a middle teir application (j2ee appserver) that uses connection pooling. The client was working fine when all of a sudden it hangs. I have checked the sp_lock and sp_who2 and there has been no locking/blocking whatsover. This problem stays until we restart the app server. Is there any way that I can further dig into this problem and find it out if it is the db that is causing the issue. I used sql profiler and I could see some log entries made into the database while client is hanging after that. Also sp_who2 lists the spid for the middle tier connection. It does not however show any loc ...Show All

  • SQL Server geometric datatypes

    Hi, Is there any equivalent in SQL Server for Oracle's datatype 'SDO_GEOMETRY' Smitha No, there is no built-in data type for storing spatial data. In SQL Server 2005, you can create your own CLR user-defined type and use it. In addition, there are other ways to do deal with spatial data. See the links below for more details. They contain whitepaper, sample from SQL Server 2005 CD etc.   http://msdn.microsoft.com/sql/learning/prog/clr/default.aspx http://msdn.microsoft.com/sql/learning/prog/clr/default.aspx pull=/library/en-us/dnsql90/html/tblvalfuncsql.asp http://msdn2.microsoft.com/en-us/library/ms345264 ...Show All

  • Visual Basic Program help

    Ok here's the thing.  I need to write a program that will compare multiple lists of numbers.  Each list would contain 6 numbers 1-39.  You would type in each list in a separate text box, and then each list would be compared with each of the other lists one at a time.  The program would compare based on two factors: 1. how many numbers each list has in common, and 2. the positions (if it were the first number, second number, etc.) of each of the common numbers.  The program would then rate each pair on a scale from 1-10. I know basic Visual Basic but this is way over my head.  Could someone please help ...Show All

  • Windows Forms Showing List View Selection?

    I'm using a List View control in Details view. Is there any way to get it to show the selected row even when the control doesn't have focus (ie. always highlight selected row) thanks DMan1, that wroks great,  now does anyone know how i can: - select an arbitrary row with code - change column text in an  arbitrary row with code the selectedIndicies member seems to be read only ...Show All

  • SQL Server How to import files via HTTP in SSIS

    Hello, How can I import data into SQL server via http server Thanks So use the variable and supply the folder you need to that variable. You cannot get th path of the package, as the package may not even have a path, and is being hosted at execution time, so the package path is meaningless . You seem to have started another thread so followup there. ...Show All

  • Visual Basic path does not exist or is not a directory

    I am calling shell when i click on a label and opening an explorer on clicking.Its working fine at my end at Windows XP but displaying error at client side with a popup window with this text "The path 'c:\....' does not exist or is not a directory" on clicking the label. I tried this application at many systems and working fine at all. I also tried on Windows 98 and Windows 2000. Can i get the solution for this The code on clicking the label is as follows: Private Sub Label9_Click() Call Shell("explorer " & Chr(34) & App.Path & "\OtherForms" & Chr(34), vbNormalFocus) End Sub When i click on label, popup win ...Show All

  • Visual Studio Team System Startup error

    Can you tell me what the following error means. This error has only started to come up this morning during Team Foundation startup. And I found that the Work Items are no longer accessible. There is plenty of space on my local hard disk and my user account should ahve appropriate permission as I have been work in Team Foundation for several days now. What else can I do to resolve the problem TF30330: Team Explorer cannot write to the project list configuration file. Free up space on the local hard disk. If the problem persists, contact the administrator for your computer to confirm that your user account has appropriate permissions to ...Show All

  • Visual Basic Update SQL Table VS2005 VB.NET

    Hi All, I have been messing with some basic vs2005 apps... im having trouble updating a table however. Is it possible you can help me I have a form with a cbo binded to a dataset that I have. I use this to populate a couple of text box's on the form. If I make an edit and try to update the table using this code: Private Sub btnSave_Click( ByVal sender As System. Object , ByVal e As System.EventArgs) Handles btnSave.Click Me .CustomerTableAdapter.Update(DsCustBasic.Customer) Me .DsCustBasic.AcceptChanges() End Sub   The dataset appears to change while the app is live, however I cant seem to actually write th ...Show All

  • Visual C++ Hello World Program Problems! (Sorry I'm New To This!)

    When I write this program: #include <iostream> using namespace std; int main () { cout << "Hello World!" ; return 0; } I receive this error message when I try to build it: 1>c:\program files\microsoft visual studio 8\vc\crt\src\crtdefs.h(36) : fatal error C1189: #error : ERROR: Use of C runtime library internal header file. Can anyone offer me any advice on how I can solve this I have searched everywhere. Crof wrote: I've just read that thread but I've not selected a win32 application I'm just writing it in a win32 projec ...Show All

  • SQL Server Configure Report Server - Web Service Identity

    Windows 2000 Server / IIS 5 / SQL Server 2005 Developers Edition / .Net 2.0 and .Net 1.1 When I attempt to configure the Report Server, I cannot configure the Web Service Identity, the ASP.NET service account shows blank. I have attempted to edit the rsreportserver.config file, as follows: <WebServiceAccount>.\ASPNET</WebServiceAccount> This (stop / start of course). But this only causes the Report Server to not start. If I leave that sectopn blank, the service starts, but I cannot access /Reports... If I attempt to apply with that sectikon left blank I receive this error: ReportServicesConfigUI.WMIProvider.WMIPr ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. 2D Direct3D Sprite Rotation (such a basic problem :( )

    Sup,   ( sorry in advance for the poor written quality and the dumb n00bish question, I'm at work and not supposed to be onthe internet. There's a lot of quick alt-tabbing going down when the boss is about!! Gotta be quick) Right, I'm getting well annoyed with this; I have found various sites on the internet that describe how to succesfully use sprites in Managed D3D (and c#) and perform transforms on them... I just can't seem to get it to work. Does anyone know of a simple bit of code (not pseudo) that creates a sprite class, rotates it and then places it at coords x,y on the screen I keep getting wierd results and would be ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Permanent Transform

    I am trying to permantly transform a mesh so that I don't have to spend valuable computing time transforming a mesh every time I render. I have the following inside my Mesh wrapper class: [Source] Sub PermanentTransform( ByRef Matrix As Matrix) Dim Test As CustomVertex.PositionTextured, I As Integer Dim Vertices() As Object = myMesh.LockVertexBuffer(myMesh.VertexFormat.GetType, LockFlags.None, myMesh.NumberVertices) For I = 0 To UBound(Vertices) Vertices(I).Position = Vector3.TransformCoordinate(Vertices(I).Position, Matrix) Next I myMesh.UnlockVertexBuffer() End Sub [/Source] I ha ...Show All

  • Visual C++ including atlbase

    Hello, i am currently working on porting a lib project from VC6 to VC2005. in one of my h files, i include <atlbase.h> in order to use CComBSTR class. while compiling the project i get the following error, regarding this include: c:\program files\microsoft visual studio 8\vc\atlmfc\include\atlbase.h(4360) : error C3861: '_beginthreadex': identifier not found i tried to enable _ATL_MIN_CRT in the project definitions, but it did not help. any idea how to solve it Thanks! I am not sure if this is correct for what the previous poster said, but...: There are supposedly numerious compile ...Show All

  • SQL Server Could not find file 'C:\WINDOWS\system32\dbo.mdb

    Error message "O LE DB error: OLE DB or ODBC error: Could not find file 'C:\WINDOWS\system32\dbo.mdb'.; 3024. is reported when I try to process a cube in the SQL Server Management Studio and in the SQL Server Business Intelligence Development Studio. What is the problem, I didn't install new software!! Check the data source connection string. It looks like a Jet data source pointing to C:\WINDOWS\system32\dbo.mdb. Edit the data source in SQL Mgmt Studio and fix it. ...Show All

©2008 Software Development Network