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

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

lou_1

Member List

crazyabtdotnet
sachin.dubey
Brandon Tucker
Steve Huckett
Keith Dorken
Brainsponge
winstonSmith
Jagjot Singh
jchau
John Blight
moldau04
Daniel Pratt
Vikas Saxena
jsdratm
Jon Bishop
Steve Graber
BJ Custard
Deniseb
kaushikn1
sybaselu
Only Title

lou_1's Q&A profile

  • SharePoint Products and Technologies Paging in Query Content Web Part

    Hi All, I'm working with the query content web part, may I know is it possible to customize the web part to adding in a custom paging Thanks. Hi George Perantatos, I've try the way you suggested, but now I'm facing a problem, from XSLT I can't get back the page number value that sent to javascript like below: <script type="text/javascript"> urlstring = location.href; if(urlstring.indexOf("=") >= 0){ qrystring=urlstring.substring(urlstring.indexOf("=") + 1, urlstring.length); } </script> <a href=" pagenumber=2">Next &gt; &gt;</a> I tried the "msxsl:script" to exchange data between javascript and XS ...Show All

  • SQL Server Microsoft.Jet.OLEDB.4.0" has not been registered

    I'm trying to import an access database into a sql express database (32 bit system) and get the following error Msg 7403, Level 16, State 1, Line 1 The OLE DB provider "Microsoft.Jet.OLEDB.4.0" has not been registered. my script is as follows SELECT * FROM OPENDATASOURCE ( 'Microsoft.Jet.OLEDB.4.0' , 'Data Source="k:\armycwy.mdb"; User ID=Admin;Password=' )... CWAM_ROSTER Anyone got an idea what is wrong TIA Kevin hi kevin, pleas try downloading and installing the latest driver found on this site http://msdn.microsoft.com/data/mdac/downloads/default.aspx Joey   ...Show All

  • Visual Basic PDF to CSV conversion

    Hi. I need to convert this file, http://www.ncb.dk/pdf/mprt-title.pdf , to a CSV file. I've already found some .net code that can convert from pdf to text files, but it's impossible to separate the fields using that. It has no idea where "title" ends and "First composer" begins etc.... Help would be highly appreciated. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. I need Path-Finding

    I am currently working on an RPG using XNA and I was wondering if anyone has implemented a shortest path algorithm on XNA. I need some shortest-path collision-avoiding code that I can use on a grid. I have looked at A* and Dijkstra's algorithm, but I think both may be outside my capabilities as a programmer. Any help is greatly appreciated. A-star is usually better than Dijkstra, even for "guaranteed shortest path." That's because it won't examine nodes that can't possibly be part of the shortest path. Dijkstra calculates global costs (examine all nodes). A-star is really simple, though. It looks something like: Pos p = startPos; Pos g = theGoal; PriorityQueue<Pos, Cost> open = new Prior ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Sprite scaling and blending

    OK, I've searched through a couple posts here and didn't find anything that fixed the problem. I'm scaling sprites to draw GUI controls and I'm getting funky results. Here's what I get (blown up 6x to show the problem). I'm drawing the box in chunks - upper left 4x4 pixels, upper right 5x5 pixels, left border, right border, lower left 4x4 and right 5x5 pixels, and upper and lower middle sections.I don't think I have to explain what the problem is.  I've tried setting texture filtering, destination blending, but nothing seems to affect it. Here's the sprite I'm using to draw. Maybe I just need to get some sleep. Jim Perry wrote: Sorry for the bad explanation. No, like I said, I think I was just being dense. Typical ...Show All

  • Software Development for Windows Vista Help Critical issue w/ Remote debugging on Vista!!

    Ok, here is my situation. I have remote debugging working w/ windows vista (using vs2k5 and vs2k3 sp1). However the software i am working on controls a wifi card and creates a connection with it (using the the new MS wlanapi). But whenever i make the connection w/ the wifi card it kills the connection for my remote debugger. The app will freeze and the visual studio will sometimes freeze w/it. Requiring me to restart visual studio. It is a native c++ app and I am using tcpip w/o authentication. I am running the code over the network. This also happens when i use pipe mode on vs2k3 aswell. Furthermore this also happens if i make the connection outside of my software aswell (using windows gui). In addition i also noticed that occ ...Show All

  • SQL Server Last GASP on "Insert row in table with Identity field, and get new Identity back " ?

    While I have learned a lot from this thread I am still basically confused about the issues involved. .I wanted to INSERT a record in a parent table, get the Identity back and use it in a child table. Seems simple. To my knowledge, mine would be the only process running that would update these tables. I was told that there is no guarantee, because the OLEDB provider could write the second destination row before the first, that the proper parent-child relationship would be generated as expected. It was recommended that I create my own variable in memory to hold the Identity value and use that in my SSIS package. 1. A simple example SSIS .dts example illustrating the approach of using a variable for identity would be helpful. 2. ...Show All

  • Visual Basic Printing - skip a page

    I'm using the PrintDocument's PrintPage event to do my printing. All works fine, but I can't figure out how NOT to print a page of a multi-page document. Even if I never call DrawString inside the PrintPage event for a particular page, a blank page is sent to the printer for that page. No. It's not the way PrintDocument works. It just calls PrintPage if you ask for another page with e.MorePages = true, it doesn't count pages at all... ...Show All

  • Microsoft ISV Community Center Forums vlookup

    Hello can anyone help me with how to write the excel vlookup function in vba the function in excel looks like this VLOOKUP(O2,'[Consolidated list of supplier.xls]Sheet3'!$A$5:$F$218,6,FALSE) how can i get something similar working in a macro. thanks namrata Hi, How about some like this Dim rngLookupValue As Range Dim rngtable As Range Dim lngColIndex As Long Dim blnRangeLookup As Boolean Set rngLookupValue = Range("O2") Set rngtable = Workbooks("Consolidated list of supplier.xls").Worksheets("Sheet3").Range("$A$5:$F$218") lngColIndex = 6 blnRangeLookup = False vntResult = Application.WorksheetFunction.VLookup(rngLookupValue, rngtable, lngColI ...Show All

  • Microsoft ISV Community Center Forums Solved - Search all text objects - PowerPoint VBA

    I need something very urgent. I am creating a search function for a custom addin. My search function ritght now searches only text placeholders. Is there any way of searching all text objects (text placeholders, textboxes, etc..) I don't think I need to go into text like text on graphs, more so pure text objects. Does anyone have any ideas Thank you for your help. Hey all. I solved my problem. Click link below to view my solution Click here to view solution ...Show All

  • Visual Basic Need help exporting VB.Net variables/data to VBA macro

    Hi I'm using VBA AutoCAD for drawing, but instead of defining parameters in VBA, I would like to take those parameters from VB.Net codes. Here is an example Sub CreateCylinder() Dim CylinderObj As Acad3DSolid Dim center(0 To 2) As Double Dim radius As Double Dim height As Double ' Define the cylinder parameters center(0) = 5#: center(1) = 5#: center(2) = 0 radius = 10#: height = 20# ' Create the cylinder in model space Set CylinderObj = ThisDrawing.ModelSpace.AddCylinder(center, radius, height) End Sub This VBA code will create a cylinder at co-ordinates (5,5,0) with radius = 10 and height = 20. I would like to know how to link or export these parameters from VB.Net to VBA AutoCAD for plotting. Many t ...Show All

  • Visual Studio Tools for Office Excel scrollbars get really small.

    Hi there, another ListObject woe I'm afraid. I've a listobject, I bind it to a System.Windows.Forms.BindingSource which has an array of objects as its datasource. I have a test setup so that when I click a button it changes the array the bindingSource is bound to. So it alternates between an array of size 5, and an array of size 1000 (so if I keep clicking the button the listobject alternates between having 5 rows of data and 1000 rows of data). However, when it binds to the 1000 rows the scrollbar at the side gets smaller, as you'd expect. When it binds on the next button click to 5 rows the scrollbar stays the same size, thus making it hard to scroll precisely. If I bind to 1000 rows again (another button click) the scrollbar gets ...Show All

  • Visual C# Get/Send Data over USB

    Hi Everybody.. My application must communicate with a device with a protocol. This device has RS232 and USB ports. The protocol looks like: <StartByte><Datalength><Data>. I have searched in internet but I really did not get what I will. How can I communicate with this Device over USB I think SerialPort is necessarry and enough in this situation. I need just to give the Com name (Com1--ComX). And I dont need any driver. Am I right Thanks. Hi, This thread is on the topic: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=588602&SiteID=1 Thanks ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. using the XmlImporter w/Content Pipeline

    I have all my game objects defined in XML files and I would like to use the Content Pipeline to load them. Looking at the available importers, it seems like the XmlImporter is the right choice, but it appears to want the XML in a certain format (a reasonable requirement). So far I haven't found any documentation on the correct way to format the file. It seems like this would use the XML serialization in C# to serialize/deserialize the object. When you pick XmlImporter in the properties, however, it appears to want a particular root element. Also, I would assume that you would use the No Processing Required for the Content Processor. If that is the case, then I think it is just a matter of formatting the XML file correctly, selecting the XM ...Show All

  • Visual C# Visual Studio 2005 - PILE OF ***!

    Hi, Although .NET 2.0 has brought ,any great additions to the .NET family, the IDE for me is the worst part of the experience. 1. The IDE is terribly slow... much slower than it should be. 2. The IDE seems full of bugs. These two problems do not make a good productivity combination. I do not believe Visual Studio 2005 is suitable for enterprise development, where you typically work on large scale solutions consisting of hundreds of projects. The IDE simply chokes on large solutions. Intellisense comes to a grinding halt and solution level configuration changes, such as setting debug/release mode take minutes (2minutes or more per click). The number of crashes of the IDE per day is also pretty high. We have started recordi ...Show All

©2008 Software Development Network