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

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

EWGoforth

Member List

BBK
arro239
enric vives
kmcclung
Tadwick
deKay
RayFantasia
Duane Haas
*A
vijil
DaveKStl
bxs122
Romantic_touch
Mr.CEO
Aditya.P
Salman Maredia
jCarlisle
JSarna
KevinBurton
Gambit7
Only Title

EWGoforth's Q&A profile

  • SQL Server Login failed for the user (using windows integrated security)

    Hello Everyone, I am trying to connect SQL database through code but I get this error,I have spent days to solve it but unfortunately I couldn't...Here is my code in VB express(OP:windows 2000 with SP4)I am new to VB,so it makes the situation more difficult for me. my code is: Public Class Form1 Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load Dim conn1 As SqlConnection = _ New SqlConnection( "Data Source=.\SQLEXPRESS;" & _ "Integrated Security=SSPI;" & _ "database=deneme3_database;" ) 'Open connection conn1.Open() MessageBox.Show( "Connection succeeded." ) 'Close conn ...Show All

  • Gadgets Debugging gadgets

    Okay, I've seen a lot of little 'snippets' of try this or try that, but how do you debug a gadget I've been doing fine until I tried to do some script. My script is okay, I've tested the same script in an asp page. But I don't even know if it's getting called. <body onload="init()"> <div id="city"></div> <div id="current"></div> <div id="low"></div> </body> and in my script I assign values to the innerText. Nothing. I've made a solution in VS 2005, and attached to the SideBar process, my code is in the ...microsoft sidebar/gadgets/mygadget.gadget folder. When I run, break points set in the js files don't get hit. I'm missing somethin ...Show All

  • Visual Basic AlternateViews and MailMessage

    Hi there, I have setup a MailMessage object and added two AlternateViews. One for plain text and the other for html. I then sent an email to a webmail address and setup my outlook to display messages as plain text. My webmail address recieves the HTML message without any problems. My Outlook on the other hand, does not display the plain text message. Instead it converts the HTML message in to plain text. Has anyone had this problem before with AlternateViews Basically, because I switched my Outlook mail client to display emails as plain text, I expected it to display the plain text message that I designated in the AlternateView and not the HTML message translated in to plain text. Kind Regards Al ...Show All

  • Visual Studio Express Editions progress bar....please help

    can anyone please help with this progress bar Dim i As Integer Dim TrackLength As Integer = 100 Dim TrackPosition As Integer = 0 Dim TrackPositionPercentage As Integer = 1 Bar1.Value = 1 If TrackLength > 0 Then TrackPositionPercentage = CInt (TrackPosition / TrackLength * 100) For i = 1 To 100 Bar1.Step = 1 Next (i) End If Cheyenne, For illustration:   For i = 1 To 100         Bar1.Value += 1   Next (i) It's going to appear to go from 0 to 100 instantly ...Show All

  • SQL Server Data Dictionary

    Hi, Is there anything analogous to a "data dicitionary" tool that is bundled with SQL Server 2005 Something that could be used to store and manage enterprise data meta-data. Thanks, JR Hi, Thanks for the info. May I assume that these system tables and their contents are officially documented somewhere Any pointers to any such docs would be greatly appreciated. Regards, JR ...Show All

  • .NET Development SSL/TLS exception when using HttpWebRequest with client certificate

    Hi, I wrote following code to call a aspx page in code (from another aspx page): HttpWebRequest httprq = ( HttpWebRequest ) HttpWebRequest .Create(uri); string certificateName = "SoapProxy2" ; X509Store store = new X509Store ( StoreName .My, StoreLocation .CurrentUser); store.Open( OpenFlags .ReadOnly); X509Certificate2Collection certificates = store.Certificates.Find( X509FindType .FindBySubjectName, certificateName, true ); X509Certificate certificate = certificates[0]; httprq.ClientCertificates.Add(certificate); httprq.Method = "POST" ; httprq.ContentType = "text/xml; charset=utf-8" ; httprq.ContentLength = 0; HttpWebResponse httprp = ( HttpWebResponse )httprq.GetRe ...Show All

  • Smart Device Development Visual Studio 2005 Software Input Panel Icon disappears

    I am using .net 2.0 and I'm using instances of the software inputpanel on various forms on my Pocket PC application. Sometimes the input panel icon is no longer visible on my cradled PDA to click on and I'm trying to work out how to make it visible again or to 'increase its zorder" and bring it to the front. The inputpanel lies at the bottom RHS of the PDA screen on top of a toolbar. Has anyone experienced this before The input panel still responds to enabled commands to show and hide it programatically. Has anyone any ideas on how to fix this   Friend WithEvents ipSIP As Microsoft.WindowsCE.Forms.InputPanel and in InitializeComponent Me .ipSIP = New Microsoft.WindowsCE.Forms.In ...Show All

  • SQL Server inserting records - mswebtasks error

    SQL Server 2005 on a Windows XP PC If I "Open" a table and try to insert a new record, I get an error: The data in row 100 was not comitted. Error Source: .Net SqlClient Data Provider. Error Message: [Microsoft][SQL Native CLient][Sql Server] Invalid object name 'msdb..mswebtasks'. SQL web Assistant: Could not execute the SQL statement. press ESC.... Any ideas thanks John Brilliant! I'd been rebuilding indexes many times thinking I had a corruption. I too had old triggers hidden I didn't know about. ...Show All

  • SQL Server Error in send email task

    I have a script task in which I check the size of a file. If the size of a file is greater then 0 KB then I need to send this file as an attachment using send email task. If size is equal to 0 KB then I don't want to send email at all. In the script task, I have a flag(@sFileExists) which i set to true in case of size of file greater then 0 and false in other case. I am using a precedance constraint (Expression : @sFileExists=true) and condition is logical AND. After script task based on the condition (@sFileExists=true) I am using the send email task for sending the email. But I am not receiving the email. Please sugest where I am wrong. Please note that the send email task is working all-right separately. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Game Programming

    Hello could i know if someone knows any tutorial ( on-line or off-line ) about DirectX 9.0c or lesser... im trying to make a game ( ) and if don't have any tutorial i must get another way ( like OpenGL ) thanks, bye Hi, you mean that you need it to be DX 9.0c or older Wy not just try XNA or ManagedDirectX for .Net Anyway, take a loot at www.gamedev.net www.gamasutra.com There are tons of info and tutorials there... ...Show All

  • .NET Development ManualResetEvent

    In my client, I have manualresetevent objects for when the send is done (sendDone), and receipt of a response is done (readDone). My problem is when my client is waiting on the readDone, the server sometimes does not return a response when a message is sent. The waitone() method has an overloaded method where you can pass in a timeout. // Receive the response from the remote device. Receive(client); receiveDone.WaitOne(30 * 1000, true); However, i need to put the sent messages that I did not receive an ack for into an unsent queue and then re-attempt these later. Any suggestions on an implementation Durgaprasad Gorti wrote: Actually, I don't think you need control events. When you send mes ...Show All

  • SQL Server Accelerate Sql Express?

    Hi, we're planning to migrate an existing dataset cache mechanism to Sql Server Express. The dataset isn't really able to handle and search one million recordsets any more :-) Once a day the Cache Sql Database wil be filled with fresh data. In comparison with the dataset takes up to fourty times longer to build the cache on the same machine!! Ok, I expected that i will take longer than creating the objects in a database with all its "overhead" like atomic transactions etc. But not so much. The current throughput on SQL Server ist nearly 400 inserted records per second in the same table. The dataset stores up to 17.000 of the same data. I'm wondering about the the following fact. Allthough I'm testing the Mass-Inserts ...Show All

  • Visual Studio Tools for Office if expression

    I'm having trouble creating an "if expression". The statement is defined in my document template and is based upon a field's value in my database, example: "I am a friend trying to understand an if expression" could also read as: "We are friends trying to understand expressions" This is the code that retrieves the field's value: hlddata = Trim(rs("insplural")) pluraltxt = Me.Variables("pluraltxt") pluraltxt.Value = hlddata I am defining this statement in the msword.dot template as: {if{docvariable pluraltxt}= "Y" "{inserttext "We are friends trying to understand expressions"}" "{inserttext "I am a friend tr ...Show All

  • Microsoft ISV Community Center Forums Array lengths

    I'm writing code that produces an array. Its basically breaking down a file path. The problem that i'm having is that I am not bale to determine the length (size) of the array as it changes sizes example C:\docs and settings\user\desktop\folder1\innerfolder\this_file.doc C:\docs and settings\user\desktop\folder1\this2_file.doc i'm using the split method to delimit the line breaking it into substrings = Split(path, "\") sub(0) = C: sub(0) = C: sub(1) = docs and settings sub(1) = docs and settings sub(2) = user sub(2) = user sub(3) = desktop sub(3) = desktop sub(4) = folder1 sub(4) = folder1 sub(5) = innerfolder ...Show All

  • Visual Studio Tools for Office Add Actions Pane to a new Document

    Hi, I do know how to add an actions pane to the main document [Globals.ThisDocument.ActionsPane.Controls.Add(editControl)]. But I don't know how to add an actions pane to a document which I open dynamically like this: Word.Document htmlDoc = Globals.ThisDocument.Application.Documents.Open(ref fileName, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing); When I try to find the actionspane control from the "htmlDoc" variable, I can't see a way to access the ActionsPane property. Can anybody help me out on t ...Show All

©2008 Software Development Network