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

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

salsabear

Member List

JohnTMSDN
BradO
Vaish
FreddyHalim
asalcedo
ParamSE
dixonbraden
Mystagogue
mrshrinkray
JungleMonkeyMike
merwy
furjaw
joslat
White-Tiger-Eyes
rod_r
Chimme
psylencio
Mr Julius Momnang
krsarge
John Lieurance
Only Title

salsabear's Q&A profile

  • Visual Studio Express Editions Cursor locked into a text box

    I will post the whole code below. The form works fine the first time around but when adding a second database row (a second record) the cursor will not leave the date time text boxes (masked text boxes) once entered unless a valid date is entered. Public Class NewVehicle Dim Ready1 As Boolean = False Dim Ready2 As Boolean = False Dim Ready3 As Boolean = False Dim Ready4 As Boolean = False Private Sub NewVehicle_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load Me .Vehicle_filtersetTableAdapter.Fill( Me .M1DataSet.vehicle_filterset) Me .Vehicle_typeTableAdapter.Fill( Me .M1DataSet.vehicle_type) End ...Show All

  • Visual Studio Express Editions Database search

    This has probably been asked and answered before but here goes. I have set up a login for my application and need to serach my database for username/password combination. Neither of which is the primary key. This is the code I have come upi with so far but it doesn't work! I have used username/passwords that are in the database so it should work. Please can anyone help me Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim user As String = Me .UserName.Text Dim password As String = Me .Password.Text If user = "Admin" Then ElseIf password = "pass" Then Dim myAdminMainForm As New MainForm ...Show All

  • SQL Server Snapshot Replication vs. Copy Objects DTS

    I have an application that I wrote that is running in the local office and a remote office. The two offices are connected via a hardware VPN. The connection in the remote office is wireless and can give speeds down to 40kbps. Each office is running MSDE 2000 and runs off of a separate database with a different name. I would like to have the database from the remote office available in the local office. It doesn't have to be completely current. A 24-hour delay would be fine. Since Transaction replication is not available in MSDE, I can use either Merge or Snapshot. Since the local office wants to allow folks to access the remote office's database without allowing them to affect the remote database (query purposes only), it seems that Sna ...Show All

  • Visual C# Convert a struct to stream of bytes

    I need to transmit the following structure across the network in my program. Code: struct Data { public string strName; publci string strMessage; } Now what I need to do is to change the data to a stream of bytes and transmit it. And, at the receiver end organize it back into the structure. How can I do this logan_india wrote: I do understand the concept but not clear what needs to be done. Can you please help :) I think that you have not comletely read my post. See this again here is the solution you want: "For this 2 work you need to have a same assembly (Version must also be same). You need to create a seperate DLL to Serialize and Desrialize object and ...Show All

  • Windows Forms Simple binding of control property to class property question...

    I've got an issue that seems simple enough. I'd like to bind the "Visible" property of a label with the "IsSorted" property of a BindingSource object to give the user a visual indication of when a list is sorted. lbl.Visible.DataBindings.Add("Visible", mSource, "IsSorted") That should do the trick as far as I can tell (assuming mSource is a populated obj and it is), but I get the Argument exception and it says "Cannot bind to the property or column IsSorted on the DataSource. Parameter name: dataMember" What gives Any ideas Thanks in advance. You guys are no help at all! Kidding... For those interested, here's the answer: I finally found mention this morni ...Show All

  • SQL Server SQL CE 3.0 (Mobile 2005) Max DB Size Question

    Hi everyone, What are the consequences for just setting the Max DB Size to 4GB and letting it go at that Is the MAX Size any arbitrary value I want or must it be close to what the actual database is expected to be Also, why did they default to 128MB Wouldn't it have been better to set it to a larger value Thanks Dorothy Hi, I found that there is a difference in the way sqlce allocate memory for different max database size setting. In my device which is running Windows CE 5.0 with only 4 MB free storage space and 8 MB free program memory, I can not set the max db size setting larger than 512, if I set it to larger value the sqlce engine will throw a native exception -2147024882 with no ...Show All

  • SQL Server Any clues why DTExec.exe is slower than Business Intelligence studio(SSIS Shell)?

    All, I have a simple package in SSIS that reads approx 2.5million rows from SQL2k5 source and exports it into 4 Foxpro files. The way I do it is as below 1) use and oledb source to read data from SQL2k5 2) use a conditional split component to divide the source into 4 streams ( I do a recId % 4 = 0, 1, 2, 3 to give 4 streams) 3) use an OLEDB destination to export to the 4 prexisting foxpro tables. This thing runs amazingly fast when I run(F5) it from Business Inteligence studio, but it is atleast 10 times slower when rightclick the package and execute using dtexec.exe I can't figure out why! any clues I would elimiate the 64 bit /32 bit problems because export to foxpro only works in 32 bit mode and my package has been configur ...Show All

  • SQL Server Three level replication schema

    Hi I have to questions\problems I would need help with. First I am creating a three level merge replication. I mean I have a main publisher with its distributor, a subscriber/publisher and also with it's own distributor and lastly a subscriber. I start by creating the relation between subscriber/Publisher and the subscriber and than I move up to the main Publisher and Subscriber\Publisher relation. After this second merge I get the following errors and the articles in my Subscriber\Publisher are lost... The merge process could not retrieve article information for publication 'I-Test-Publisher'. (Source: Merge Replication Provider (Agent); Error number: -2147201017) -------------------------------------------------------------------- ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Help - Running DirectX on visual Studio 2005

    I'm new to using Visual studio and directx. i've installed visual studio 2005 and DirectX SDK october 2006. I've installed C:\Program Files\Microsoft DirectX SDK (October 2006)\Include and C:\Program Files\Microsoft DirectX SDK (October 2006)\Lib\x86 to the include and library directories respectively in the VC++ The problem is when i use for example the project/code on this website http://www.toymaker.info/Games/html/2d_scrolling.html Its a simple scrolling tutorial. I can get the project to build succesfully but when i try to compile there is no "output" nothing happens. Any help is much appreciated. Thanks ...Show All

  • Visual Basic Avoiding duplicate reading of image files

    If an application needs to display a JPEG, TIFF, or other image file on disk it uses something like picBox1.Image = System.Drawing.Image.FromFile(myFile) to read the file. If it needs to retrieve image data like Exif or IPTC fields from the same file it uses ByteArray1 = My.Computer.FileSystem.ReadAllBytes(myFile) to store the data in a byte array. Is there a way to eliminate that time-consuming duplication I don't see any examples in the help file of loading an image from a byte array, or of building a byte array from an image. That pointer gives me a "cannot display" in both IE7 and VS; not sure why. But the MemoryStream concept is a new one for me, and may be just what I was looking ...Show All

  • .NET Development ASP.net C#, sending email error-the client was not authenticated.

    Hi, everyone: Hope I can get some help here. I've been working on this problem for two days and checked all the resources, but no luck. I'm a beginner of ASP.net C#. and recently working on an application try to send out emails. Below is my code and error message I got: (I used system.net .mail) ///////// code in web.config < add key = " MailServer " value = " 68.142.198.11 " /> < add key = " EnableErrorLogEmail " value = " false " /> < add key = " ErrorLogEmail " value = " XXX@sbcglobal.com " / > < add key = " ProductsPerPage " value = " 6 " //////code in utilities.cs public static void SendMail( stri ...Show All

  • Smart Device Development How to deploy to Windows CE .NET 4.2 Device a project from VS2005

    So the problem is that when I deploy the test project on my Windows CE .NET 4.2 device, VS2005 allows me only "Pocket PC 2003 Device" and "Windows CE 5.0 Device". I select "Windows CE 5.0 Device" and in a minute receive a message on the device screen: "The program is not compatible with the current operating system and therefore may not run on this device. Do you want to continue installation ". And the question is: how to deploy program to my device What can I do to make VS2005 display the option "Windows CE 4.2" in the target list Please see this: http://groups.google.com/group/microsoft.public.dotnet.framework.compactframework/browse_frm/thread/c49e1 ...Show All

  • SQL Server vb.net and reportingservices setparameters takes a long time

    I have a vb.net application using report services that has a big delay when I set the parameters with which to call the report. I create a new reporting.reportviewer. I set the ReportServerCredentials.NetworkCredentials, ReportServerUrl, ProcessingModem, ReportPath and everything is fine. When I call SetParameters with a very simple parameter set, I get a delay of between 0.5 and 2.5 seconds. That delay is very noticible to the users. Below is an extract of a sql profiler trace to a database showing the start time, end time, event class and data text of the sql. I've marked the area with the delay in red. I have no idea what is happening at that time, but Is there anything I can do to get rid of that delay It seems ...Show All

  • Windows Live Developer Forums Multiple OnGotRoute calls

    Ok here is the problem, I want to create a page that shows multiple driving directions, so for the whole day there is driving to point 1 then from point 1 to point 2 then from point 3 to point 4. I create div's dynamically but the problem is i don't know when the ongotroute call get's fired. I want to call ongotroute and pass the div.id so it knows where to place the directions any ideas If i'm not being clear, i want to have the OnGotRoute function declared as function OnGotRoute(x,route) { } When i try this, route doesn't have itineraries. < form id ="form1" runat ="server"> < div style ="padding-left:10px;top:10px"> < asp : Label ID ="TerritoryName&q ...Show All

  • SQL Server Cannot Query Excel Linked Server

    Hello, I have attempted to set up a linked server to an Excel 2003 workbook, and I get an OLEDB error when I attempt to query against it. Some notes about the workbook; -It has one worksheet in it named 'Add Revenue Accts'. -The name of the workbook is 'Revenue_to_All_Accounts.xls' -Its location is \\cdnbwfin1\data\CDunn\Comdata\Reports\Reba_Holmes\Revenue_All_Accounts I have the linked server configured as follows; -Linked Server; REVENUE_TO_ALL_ACCOUNTS -Provider; Microsoft Jet 4.0 OLE DB Provider -Data Source; \\cdnbwfin1\data\CDunn\Comdata\Reports\Reba_Holmes\Revenue_All_Accounts\Revenue_to_All_Accounts.xls -Provider String; Microsoft.Jet.OLEDB.4.0;Data Source=\\Cdnbwfin1\Data\CDunn\Comdata\Reports\Reba_Holmes\Revenue_A ...Show All

©2008 Software Development Network